cancel
Showing results for 
Search instead for 
Did you mean: 

Lifecycle of the Stateful Session Bean

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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