Advertisement

Automating the Ada binding process for Java — How far can we go?

  • David E. Emery
  • Robert F. Mathis
  • Karl A. Nyberg
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1411)

Abstract

This paper describes an automated approach for generating Ada bindings from Java class files. We start with the set of Java features that require a visible Ada binding, and an Ada compiler's definition of how to interface Ada and Java. We discuss how to obtain the Java definitions from the class file and then translate them into an Ada binding (using the GNAT binding approach). While it is possible to generate a technically complete Ada binding from the information in a Java class file (within the constraints of necessary support from an Ada compiler). However, we show that such a binding has significant limitations from a practical usability perspective.

Keywords

Target Language Source Language Object File Java Virtual Machine Class String 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [AdaBindings]
    Ada 95 Bindings Report, DASW01-94-C-0054, Task Order T-S5-306, Defense Information Systems Agency Center for Software, 15 August 1995.Google Scholar
  2. [Aonix]
    “Read me” file for Aonix Ada 95 to JDK 1.1 binding, available from ftp://ftp.aonix.com/pub/web/ada/jdk_1.1.zipGoogle Scholar
  3. [AppletWriter]
    Applet Writer's User Guide, available from the AppletMagic home page, http://www.intermetrics.com/appletmagic/download/appletwriters.guide.txt.Google Scholar
  4. [c2ada]
    Automated C to Ada binding tool. Available from http://www.inmet.com/ mg/c2ada.Google Scholar
  5. [Emery]
    Emery, David and Nyberg, Karl; “Observations on Portable Ada Systems”, in Ada: the design choice, Proceedings of the Ada-Europe International Conference, Madrid, Spain, 13–15 June 1989. Cambridge University Press. Also available as MITRE Technical Paper MTP-282, February, 1989, Bedford, MA.Google Scholar
  6. [GNAT]
    Java to Ada Interfacing, Appendix B of GNAT Ada mapping to JAVA, Ada Core Technologies, in preparation, private communication.Google Scholar
  7. [GNATJVM]
    Comar, Cyrille; Dismukes, Gary and Gasperoni, Franco; “Targeting GNAT to the Java Virtual Machine”, in Proceedings of Tri-Ada 1997, ACM SIGAda, St. Louis, 1997.Google Scholar
  8. [Harold]
    Harold, Elliotte Rusty Java Secrets, IDG Books Worldwide, Foster City, CA, 1997.Google Scholar
  9. [Intermetrics]
    Release notes for release 2.0.1 of AppletMagic, available from the AppletMagic home page, http://www.intermetrics.com/appletmagic/api/index.htmlGoogle Scholar
  10. [JNI]
    The Java Native Interface — available at URL http://www.javasoft.com/products/jdk/1.1/docs/guide/jni/specGoogle Scholar
  11. [Kramer]
    Kramer, Douglas; The Java Platform, available at http://java.sun.com/docs/white/platform/.Google Scholar
  12. [Lindholm]
    Lindhohn, Tim and Yellin, Frank; The Java Virtual Machine Specification, Addison-Wesley, Reading, MA, 1997.Google Scholar
  13. [Meyer]
    Meyer, Jon and Downing, Troy; Java Virtual Machine, O'Reilly & Associates, Sebastopol, CA, 1997.Google Scholar
  14. [POSIX]
    IEEE Standard IEEE STD 1003.5-1992, POSIX System Interfaces Ada Binding, IEEE, Piscataway, NJ, 1992.Google Scholar
  15. [Taft]
    Taft, S. Tucker, “Programming the Internet in Ada 95”, in Proceedings of the Ada-Europe International Conference, 1996. Cambridge University Press; also available as: http://www.inmet.com/stt/adajava_paper/.Google Scholar
  16. [Taft2]
    Taft, S. Tucker, private communication.Google Scholar
  17. [Venners]
    Venners, Bill, Inside the Java Virtual Machine McGraw-Hill, New York, 1998.Google Scholar
  18. [Wragg]
    Wragg, David; Drossopoulou, Sophia and Eisenbach, Susan; “Java Binary Compatibility is Almost Correct”, available as http://outoften.doc.ic.ac.uk/projects/slurp/papers.html#bincompGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1998

Authors and Affiliations

  • David E. Emery
    • 1
  • Robert F. Mathis
    • 2
  • Karl A. Nyberg
    • 3
  1. 1.The MITRE CorporationMcLean
  2. 2.Pithecanthropus Consulting, Inc.Columbus
  3. 3.Grebyn CorporationSterling

Personalised recommendations