how do I get EJBContext in EJB 2.1

How do I get EJBContext in EJB 2.1. rgds,Jatin
[67 byte] By [Jatin_Kulkarnia] at [2007-11-27 9:20:36]
# 1

The only way to retrieve the EJBContext in EJB 2.1 is to implement the appropriate setXXXContext

method in the beanClass : setSessionContext, setMessageDrivenContext, or setEntityContext.

Each of these is called by the container during the instance initialization lifecycle.

--ken

ksaksa at 2007-7-12 22:13:53 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...