2. When the session context is got in the setSessionContext method, why the table says i cant get the client information and ref of the EJB Object etc. ( Stateless Session Bean)
Regards<br />Ram<br /> <br />SCJP 1.4, SCBCD 1.3, (SCEA)
Originally posted by Srividhya Anand:
1. how come the table says "CMT" and "BMT" for the session bean? isnt it something related to the Entity Bean? What do i have to know to understand this?
Originally posted by Srividhya Anand:
When the session context is got in the setSessionContext method, why the table says i can not get the client information and ref of the EJB Object etc. (Stateful Session Bean) in the setSessionContext() method?
Originally posted by Peer Reynders:
In the case of the stateful session bean this allows the Server/Container provider to actually create some bean instances ahead of time, and complete the constructor and the setSessionContext methods before a client request their creation.
I think the specification writers reasoned that there is nothing client specific that you could do in the setEntityContext() method that wouldn't be better accomplished in the ejbCreate - so there was no need to constraint the vendors unnecessarily.
Originally posted by Srividhya Anand:
if Stateful, doesnt the container create the bean only on the create call from the client?
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |