posted 19 years ago
Hi,
I still have some doubts like :
I follow what i do , calling a business method() on the bean instance , now the print statement in ejbCreate() may or may not be called , reason being it might have been called earlier . In case, its not called , then we will have the print statement on the console.
Now after servicing the method the bean goes back to the pool , now if the client again calls a business method on the same EJBObject stub it might be tied to another bean instance(different from the one obtained earlier) .
So we can never predict that the priont stmt in ejbCreate() will ever be called or not , it may or may not be .
What do you feel ?
Regards,
Mohit.