Server Programming interfaces
The APIs for interactions between a component and container are called as Server Programming interfaces. The container exposes the following interfaces in addition to the component type specific interfaces.
- ComponentContext : a bootstrap interface to access other interfaces.
- ComponentId (only for persistent container type) : masks the differences between references created by CORBA persistence and the other persistence mechanisms.
- BaseOrigin : interface contains operations to manage the servant lifecycle policy, creating and managing object references in conjunction with the POA.
- Transaction : interface contains a subset of CORBA transaction service operations.
- Storage : interface expose operations to suppot the persistenc mechanism for CORBA persistence or user defined persistence mechanisms.
- Security : interface contains a subset of CORBA security service operations.
All the mentioned interfaces are provided through EJBContext in EJB.