User Tools

Site Tools


at:tutorial:symbiosis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
at:tutorial:symbiosis [2007/04/06 14:34] jdedeckerat:tutorial:symbiosis [2007/04/06 15:26] jdedecker
Line 1: Line 1:
-====== Symbiosis with Java ====== 
- 
 <note>This Tutorial is still under heavy construction</note> <note>This Tutorial is still under heavy construction</note>
 +
 +====== Symbiosis with Java ======
  
 AmbientTalk is fully implemented in Java and runs on top of the JVM.  Java provides an extensive class library that can be accessed from within AmbientTalk.  In other words, Java classes can be instantiated and messages can be sent to Java objects from within AmbientTalk. AmbientTalk is fully implemented in Java and runs on top of the JVM.  Java provides an extensive class library that can be accessed from within AmbientTalk.  In other words, Java classes can be instantiated and messages can be sent to Java objects from within AmbientTalk.
Line 10: Line 10:
  
 ===== Accessing Java classes ===== ===== Accessing Java classes =====
 +The complete set of classes that are available in the class path of a running JVM are accessible from AmbientTalk through the jlobby object.  For example, referencing the Java Vector class from within AmbientTalk can be accessed with:
 +
 +<code>
 +jlobby.java.util.Vector
 +</code>
 +
 +jlobby.java.util.Vector
  
 ===== Creating Java objects ===== ===== Creating Java objects =====
at/tutorial/symbiosis.txt · Last modified: 2013/05/17 20:25 by tvcutsem