users@glassfish.java.net

Re: When does GF create a new instance of a Stateless Session Bean?

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Apr 2007 09:29:15 PDT

Surfing GF source code i arrived at:

https://glassfish.dev.java.net/source/browse/glassfish/appserv-core/src/java/com/sun/ejb/containers/StatelessSessionContainer.java?rev=1.23&view=markup

There i can see:

/**
    * called when an invocation arrives and there are no instances
    * left to deliver the invocation to.
    * Called from SessionContextFactory.create() !
    */
    private SessionContextImpl createStatelessEJB()

So i think GF should create a new instance of my SLSB each time i invoke the wait5Minutes...
[Message sent by forum member 'andresgr' (andresgr)]

http://forums.java.net/jive/thread.jspa?messageID=212972