The Commerce Layer

The basic task of the Commerce Layer is to provide a set of commerce services for a Business Application (BA) including methods to establish connections between Server- and Client-BAs.

Before any invocation of commerce services a connection between a Client and a Server has to be established. Then an instance of a CL... Service class to be used has to be created. Now its methods may be called.

The Commerce Layer currently consists of the following essential elements:

Class: CLConnection

The CLConnection object:

There are two class constructors, one for either side:

A paramaterized one and one without any parameters to be passed to. The client's side, i.e. the side that initially wants to send data will have to use the parameterized version in order to identify itself to its counterpart by its address and name and other id values.

The initial receiver's side (usually a server) invokes the unparameterized version since it will get all the address/administration information necessary an initial sender (usually a client) that wants to create a connection.

Class: CLServices

This is the abstract class defining the basic method each commerce service should provide, namely a send and a receive method for data exchange between to parties, i.e. Client and Server.

Commerce Layer Services

The following (mainly) derived classes are used to initiate new services:

Before a certain service may be invoked an instance of its class has to be created. Each service contains a send and a receive method. Both methods require a previously instantiated CLConnection class object to work properly.

Class: CLContentData

Objects of this class contain the special information (e.g. order, offer, pay) which will be exchanged between clients and servers via the SEMPER platform. The knowledge about syntax and semantics of this data only resides within the special BA.

The documentation includes an index and a tree depicting the class structure.

In addition to the classes mentioned above, the following classes (among others) are also defined:

Helper Classes