A CONTAINER provides the entity bean instances with an EntityContext, which gives the entity bean instance access to the instance’s context maintained by the container. The EntityContext interface has the following methods:
The getEJBObject method returns the entity bean’s REMOTE [component] interface.
The getEJBHome method returns the entity bean’s REMOTE HOME interface.
The getEJBLocalObject method returns the entity bean’s LOCAL [component] interface.