at:tutorial:symbiosis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:symbiosis [2009/01/26 16:54] – comment elisag | at:tutorial:symbiosis [2009/04/23 09:24] – tvcutsem | ||
---|---|---|---|
Line 180: | Line 180: | ||
So far, the examples have illustrated how to reuse Java code from within AmbientTalk. They have shown how to access Java classes, instantiate them and invoke methods on the resulting objects. Moreover, | So far, the examples have illustrated how to reuse Java code from within AmbientTalk. They have shown how to access Java classes, instantiate them and invoke methods on the resulting objects. Moreover, | ||
- | Embedding AmbientTalk in an application, | + | Embedding AmbientTalk in an application, |
+ | |||
+ | Once an instance of an EmbeddableAmbientTalk subclass is created, the AmbientTalk VM can be started by sending it the '' | ||
< | < | ||
- | EmbeddedAmbientTalk | + | EmbeddableAmbientTalk |
vm.initialize( | vm.initialize( | ||
NATParser.parse( | NATParser.parse( | ||
Line 196: | Line 198: | ||
The code excerpt also illustrates that the EmbeddableAmbientTalk class provides methods to create definitions for fields such as '' | The code excerpt also illustrates that the EmbeddableAmbientTalk class provides methods to create definitions for fields such as '' | ||
- | Once the virtual machine is properly initialized, | + | Once the virtual machine is properly initialized, |
< | < |
at/tutorial/symbiosis.txt · Last modified: 2013/05/17 20:25 by tvcutsem