Skip to Content
author's profile photo Former Member
Former Member

Lifecycle of the Stateful Session Bean

Hi,

Is there any pooling done on the session bean instances (Stateful/Stateless)?

My question is on 'remove' what will happen to the bean instance, gets garbage collected?, goes back to the pool if there is one?

Thanks and Regards,

Prasad

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 03, 2004 at 10:39 AM

    Hi All,

    I got the answer for my question.

    The EJB Container keeps the stateless session(not stateful), entity, and message-driven bean instances in pools. All instances in a pool are equivalent and the EJB Container chooses a random instance to serve the client requests.

    Thanks,

    Prasad

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.