Please refer to Richard Monson Haefel's EJB book for life cycle details of a stateless session bean. Container invokes ejbcreate() when it creates the bean instance snd puts them into instance pool not when client calls create() method. Of course this happens only in stateless beans. For other types of beans container calls ejbcreate() only when client invokes create() operation. In stateless session beans when client calls create() operation, container just creates a new EJBobject instance, associates that with any bean from the pool and returns that instance to the client. Rgds Satya -----Original Message----- From: Ashutosh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 06, 2000 8:42 PM To: [EMAIL PROTECTED] Subject: Stateless SB+ Instance Pool Hello All, While deploying a Stateless Session Bean , i found that the constructor of the bean is called (I have given the no. of instances in free pool as 5) . Also, the ejbCreate gets called for each of these instances. I understand that when the client calls create() on the Home Interface the call is first intercepted by the EJBHome object which then calls ejbCreate of the Bean class. In this case, as the ejbCreate is already called by the container while deploying the bean what happens when the client calls create() on the Home Interface. When my client code gave a call to the bean the business method was directly called - ejbCreate was not called at all. Does the container identify that being a stateless bean an instance has already been created and that there is no need to call ejbCreate ? If it does how does it do that? Could some body please explain. Thanks for the time.. Regards, Ashutosh. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".