TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Geoff Bull <[log in to unmask]>
Reply To:
Geoff Bull <[log in to unmask]>
Sun, 10 Oct 1999 22:54:26 +1000
text/plain (40 lines)
There are a few answers to this depending on your needs:

1. You can access Java using the Java Native Interface (JNI).
   There is an Ada binding to it at my web page
   The license for this is going to be changed to BSD open source.

2. There is a higher level binding for native code to Java classes at
   I don't think this has been updated for the Java 2 platform (JDK1.2).

3. Some compilers will compile Ada to Java byte code.


"Kester, Rush W." wrote:
> As I understand, Java has two classes of data types: primitives and objects.
> The first is a very tiny set that includes char, boolean, int, double,
> short, and just a few others. The second is a gigantic set, which includes
> all the thousands of classes in all the Java standard libraries. Is this
> second category available from Ada (or from any other language, for that
> matter)?
> Also, I'd very much like to have a URL to a source where I can read more.
> Rush Kester
> Software Systems Engineer
> AdaSoft at Johns Hopkins Applied Physics Lab.
> email:  [log in to unmask]
> phone: (240) 228-3030 (live M-F 9:30am-4:30pm, voicemail anytime)
> fax:      (240) 228-6779