CHASession session EJB

CHASession is a stateless session EJB that provides the necessary access functionality to work with CHAInstance EJBs and singleton without the need of the client code accessing the CHA Instance Home interface. To do this, all access at this level is performed on behalf of the client by using the CHASession session bean. The front-end component of the CHA server is the CHASession stateless session EJB. It is the sole entry of CHA server. It provides finders and creation methods for creating and querying for CHA instance entity beans. It also provides the method to call the singleton to access the context tree in memory.

CHASession provides the following functionality:

All of these methods will access a local version of the CHAInstance home interface since the CHA Instance EJB instances will be in the same EJB container as the CHA Session EJB. The use of the local EJB Home interface enhances performance by reducing the need to consult JNDI or remote semantics for CHA Instance retrieval and manipulation.