Amos II Java Interfaces
Daniel Elin, Tore Risch · 2000
Latest modification 2014-02-06 This report describes the external interfaces between Amos II and the programming lan-guage Java. There are also interfaces between Amos II and the programming languages C and Lisp, documented separately. There are mainly two ways to interface Amos II with Java programs: Either a Java program calls Amos II through the callin interface, or for-eign AmosQL functions are defined by Java methods through the callout interface. The combination is also possible whereforeign functions in Java call Amos II back through the callin interface. There are external interfaces between Amos II and the programming languages ANSII C, Lisp, and Java. This docu-ment describes Java interfaces, while the the C and Lisp interfaces are documented separately in [3]. The Java interface is the most convenient way to write Amos II applications and to do simple extensions. The C and Lisp interfaces must be used for more advanced system extensions and time critical applications.