APL-Journal - APL Germany e. V.
APL-Journal - APL Germany e. V.
APL-Journal - APL Germany e. V.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>APL</strong>-<strong>Journal</strong><br />
Abstract<br />
The world of Software development is getting wider and<br />
wider. Applications run in a variety of environments and<br />
use components written in a variety of languages. Recent<br />
<strong>APL</strong>2 enhancements allow developers to participate more<br />
fully in this world of component use and reuse. The new<br />
<strong>APL</strong>2 Programming Interface (Calls to <strong>APL</strong>2) is a set of<br />
APIs that allows applications to start and control <strong>APL</strong>2. Calls<br />
to <strong>APL</strong>2 provides the foundation for <strong>APL</strong>2‘s new Interfaces<br />
with other languages, components, and environments including<br />
Java, Visual Basic, and Microsoft’s Component Object<br />
Model (COM).<br />
<strong>APL</strong>2 and Java<br />
<strong>APL</strong>2 has two new interfaces to Java:<br />
Associated Processor 14 for calling Java from <strong>APL</strong>2<br />
Enables applications to exploit the enormous wealth<br />
of components available as Java classes such as XML<br />
parsing and infinite precision arithmetic.<br />
The Java interface to Calls to <strong>APL</strong>2<br />
Enables Java applications to call <strong>APL</strong>2 applications. It<br />
enables <strong>APL</strong>2 developers to integrate their applications<br />
in mainstream server applications such as IBM’s<br />
WebSphere Application Server.<br />
Calling Java from <strong>APL</strong>2<br />
Associated Processor 14<br />
●<br />
●<br />
●<br />
●<br />
●<br />
Reference and specify static fields<br />
Call static methods<br />
Instantiate Java objects<br />
Reference and specify instance fields<br />
Call instance methods<br />
Java methods can call back to <strong>APL</strong>2<br />
<strong>APL</strong> - <strong>Journal</strong> 2006, 25. Jg., Heft 1/2 29