next up previous
Next: 4.1.2 Initialization Up: The Integration of the Previous: The Integration of the

The PROGRESS Application Object and the PROGRESS Input Component

 

In order to integrate a PROGRESS environment (respectively a PROGRESS server), we have to implement a PROGRESS Application Object (PAO). This PAO contains the name of the remote PROGRESS server, the server port and the name of the service. In addition, it contains a PROGRESS Input Component Implementation (PICI), which implements an interface of the application server to deal with the data that have to be exchanged between the remote server and the WWW client.

The PICI extends the framework's concept of the general input component so that each object of the PROGRESS language is handled as a general object with the three attributes name, type and value. The PROGRESS language provides recursive data structures (list of lists, etc.), therefore the PICI has an array of sub-PICIs. The above mentioned Java package for the communication with a PROGRESS server provides all neccessary methods for the construction of general PROGRESS objects and the extraction of the data stored in PROGRESS objects. The actual implementation of the PICI must provide methods to transform the internal attributes to a PROGRESS object (for a request) and vice versa (for a response), but on the basis of the Java package these methods can be implemented as simple case statements.


next up previous
Next: 4.1.2 Initialization Up: The Integration of the Previous: The Integration of the

Ralf-Dieter Schimkat
Thu Dec 9 14:08:00 GMT+1 1999