There are a few answers to this depending on your needs:
1. You can access Java using the Java Native Interface (JNI).
see
http://www.javasoft.com/products/jdk/1.2/docs/guide/jni/index.html
There is an Ada binding to it at my web page
http://www.acenet.com.au/~gbull
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
http://www.ainslie-software.com/adajni/adajni.htm
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.
http://www.appletmagic.com/http://www.aonix.com/http://www.gnat.com/java.html
Cheers
Geoff
"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