Hello everybody, I have one small doubt related to Entity Bean life cycle,I am reffering to Enterprise Java Bean Book- O'reilly, there is one statement which goes like this (in context of transitioning of bean instance from pooled state to the ready state via activation page No. 284 fourth Edition): "When a bean instance is activated ,it leaves the instance pool(the pooled state) to an EJB Object. Once assigned to proper EJB Object,the ejbActivate() method is called -the instance's EntityContext can now provide info. specific to the EJB Object but, it can't provide security or transactional info." I am not getting exactly the meaning of the statement which is highlighted in bold. Thanks in advance. Shrinivas Mujumdar
the context can be used to retrieve the pk of the bean, eg. But it cannot be used to ask who is invoking the method (e.g. in order to dertmine if the caller is in role) or if there is a transaction currently.
Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG