ComponentContext provides an accessor operations for a component to obtain the references to various service interfaces. This interface is aligned with the EJBContext interface except that EJBContext interface contains the operations related to various services while ComponentContex only returns a reference for various service provider interfaces. |
EJBContext is specialized to SessionContext for SessionBeans and EntityContext for EntityBeans based on component type while the CORBA model provides the necessary context interfaces based on the container type. |
ComponentContext interface is used to get the reference to Home, BaseOrigin, Transaction, HomeRegistration, Security, and Events interfaces. |