Integrating Plain Java Classes and Session Beans

Both Plain Java applications and Session Bean applications are designed to execute Java code:

In both cases this method to be executed is called completion method.

As already explained for Workflow Data, all IN data mappings are executed before the completion method and all OUT data mappings are executed after the completion method. For data mappings it is possible to use all getter and setter methods in the sense of section Working with Java Style Data Types on the underlying object. This object will be the same for the whole life time of activity instance execution. Especially, it is guaranteed that for a stateful Session Bean application all data mappings and the completion method will operate on the same Session Bean instance.