Previous Topic: Import ObjectNext Topic: View Example


Export Object

The Export objects are generated in classes called <EJB name>Export based on the export view designed in the model for the CA Gen EJB Server. It contains the actual export data for the execution of the server. The Export objects are also responsible for all data validation that is done on the attributes on the export views.

Even if the server does not contain any export views, the Export object is still generated since the system level data (Command, ExitState, and so on) are always present. The server object execution methods create and populate the Export objects.

The Export objects are stateful. In fact, they exist to hold a state. Therefore, the developer must take care, not to use a particular instance of one of these classes between different threads in a multi-threaded application.