Thanks for the responses.
Awishek caught partially what i meant to say.
When clients invoke finder methods, a bean instance in the pool will query database for the existence of the primary key in the database. If found, then container will find (or makes) EJBObject and send its stub to client. This is how flow for finder method goes right.
Now, at the point
If found, then container will find (or makes) EJBObject and send its stub to client.
I am confused. How container finds an EJBOject which is related to the primary key?
If a EJBObject is alive, then bean instance acting as entity bean for that primary key must be active and in method ready state.
All i want to know is how the container service will find one?
Please correct and excuse me if i am wrong.
Thanks and Regards