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)


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.


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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  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 Scholar
  3. [AppletWriter]
    Applet Writer's User Guide, available from the AppletMagic home page, Scholar
  4. [c2ada]
    Automated C to Ada binding tool. Available from 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, Scholar
  10. [JNI]
    The Java Native Interface — available at URL Scholar
  11. [Kramer]
    Kramer, Douglas; The Java Platform, available at 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: 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 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