Go to ...[Main Page] [Tutorials] [Documents] [What's new] [Feedback] | |
Writing Java(tm)-Compatible Applets in Ada 95by S. Tucker Taft |
Intermetrics, Inc. 733 Concord Avenue, Cambridge, MA 02138 USA Phone: +1 (617) 661-1840 - Fax: +1 (617) 868-2843 Email: stt@inmet.com |
Abstract: | This tutorial/workshop will introduce the attendees to writing
Java(tm)-compatible applets in Ada 95. Java(tm) is a new technology from Sun (see http://www.javasoft.com/) which allows small applications ("applets") to be automatically downloaded to a client machine as part of browsing an HTML Web page with a Java-enabled Web browser. As of this writing, Sun's own HotJava(tm) browser, Netscape's Navigator browser, and Spyglass' Enhanced Mosaic browser are all going to support Java-compatible applets. Sun has designed a new object-oriented language called "Java" as part of this technology, and provides a compiler to translate Java source programs into a byte-code representation (herein called "J-code") for secure and efficient transmission across the Internet. When a Java-enabled browser encounters an HTML Web page with a reference to a Java applet (via the HTML tag "<applet ...>"), the J-code for the applet is automatically downloaded and executed, giving it control over a specified part of the screen displaying the Web page. J-code is a platform independent byte-code, and is intended for efficient execution by an interpreter, or efficient on-the-fly translation to machine-code for execution by the client hardware. Although the source language Java and the Java byte code were designed hand-in-hand, it is still possible to map other programming languages to J-code, provided the underlying semantics of the languages match those of Java relatively well.
As it turns out, the semantics of Ada 95 fit remarkably well the underlying
capability of J-code. Recognizing this, a group at Intermetrics
is in the process of adapting our validated Ada 95 front end
("AdaMagic"(tm)) to directly generate J-code, allowing Java-compatible
applets to be implemented in Ada 95. |
---|---|
Outline: |
|
Background: | Designed for Ada 95 programmers who have some familiarity with the
World Wide Web. |
Biography: | S. Tucker Taft has been actively involved with Ada since September 1980.
From March 1990 to February 1995 Mr. Taft led the design team for
Ada 9X, which we now know as Ada 95. He is chief scientist in
the Cambridge office of Intermetrics, Inc., and is chief architect
of Intermetrics' Ada 95 technology, called AdaMagic(tm).
|