Hi Guyz,
According to HFEJB, Pg.No 227, "Session bean creation is not related to the client".
That means container has already made some stateless beans and put them in the pool, or the container may create those bean instances at the time when the client call the business methods. Bottom line is that it is upto to the container to make stateless bean instances and that happens at a completely different/unrelated time to when the client calls the create.
When client calls create only stub to
EJB Object is returned.
Now my question is: How come you get a reference to the EJB Object in ejbCreate(), because it may b the case that the EJB Object isnt created boz the client hasnt called create() yet.
Thankz in advance!!
Puneet
SCJP1.4