Friday, March 13, 2009

What is an EJB Context (EJB)

Question :What is an EJB Context? (EJB)
Answer :EJBContext is an interface that is implemented by the container, and it is
also a part of the bean-container contract. Entity beans use a subclass of
EJBContext called EntityContext. Session beans use a subclass called
SessionContext. These EJBContext objects provide the bean class with
information about its container, the client using the bean and the bean
itself. They also provide other functions. See the API docs and the spec for
more details.

No comments: