Answer
EJBContext is an interface implemented by the container. It is a part of the
bean-container contract.
EntityContext: This is a sub-class of EJBContext that Entity beans use.
SessionContext: Session beans use this subclass.
These EJBContext objects provide the bean class with information about its:
- Container,
- Client using the bean,
- Bean itself.