Hi Jyoti,
Stateless Session Beans are pooled. So think.. when the instances of bean class are getting created... as soon as you deploy the bean.
Now when you deploy the bean the container how it is creating the instance of bean class that is given to it ???
first it (container) loads the bean class
then it calls.. Class.newInstance() to create the object of bean...
then it calls ... setSessionContext if it is there..
then it calls... any method annotated with postConstruct or ejbCreate if it is there...
now bean pool is ready..
After this (it means after deployment of bean) client is free to call method on bean.
now even if a
ejb 2.0/2.1 client... (their home interface has create method).. does lookup on homeObject and then calls create() on that home object (which according to ejb 2.0/2.1 specs is going to return reference of remote / local interface ..) the container is not going to create new bean instance so it is not going to call any postConstruct or ejbCreate method on bean.
That's what the specs is saying.
(There are some other details which you'll get to know later on as you progress)
I hope this is sufficient for you.
bye
nitin