Basic HTML version of Foils prepared July 6 99

Foil 113 Servant Policies

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


In the EJB model, operations are invoked on the EJBObject while in the CORBA model the POA provides the necessary support to intercept the method dispatches.
POA uses a Servant object to dispatch the incoming call to the object. Servant's lifetime policies are:
  • method : container activates the component every operation request and passivates it after the completion.
  • transaction : container activates the component on the first operation request within a transaction and passivates the component after the transaction ends.
  • component : the container activates the component on the first operation request and keep it activate until the component requests to be passivated.
  • container : the container activates the component on the first operation request and decides when the component should be passivated.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999