Ramesh wrote:

>hi michel
>   In inprise appserver4 and weblogic5 ejbCreate is called during creation
>of
>first instance and if the pooled instances are available ejbCreate is not
>called
>instead setSessionContext is called on the pooled instance and a reference
>is returned.
>You can test the behaviour by printing some information on ejbCreate and
>setSessionContext
>methods.
>I think this is an expected behaviour.
>
>ramesh
>
>-----Original Message-----
>From: A mailing list for Enterprise JavaBeans development
>[mailto:[EMAIL PROTECTED]]On Behalf Of Michel Teunissen
>Sent: Thursday, November 29, 2001 4:30 PM
>To: [EMAIL PROTECTED]
>Subject: Invocation of ejbCreate on serving a SLSB instance from the
>pool?
>
>
>Hi all,
>
>This question is focussed on the EJB 1.1 spec.
>
>When I do a SLSBHome.create(), can I expect the container to always
>execute the ejbCreate() on the instance it's returning to me? Or is this
>only done when instances are created for the method-ready pool?
>
>Michel
>
>===========================================================================
>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".
>
>
>
Hi,

I understand that I could trace the behaviour :-) . What I'm after is
the behaviour that is to be expected according to the spec!
I'm using the JOnAS 2.2.7 container that is doing what you say WLS and
Inprise also do.

Michel

===========================================================================
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".

Reply via email to