dcsimg
About Pooled state
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Neelima_Paramsetty
Posted On:   Friday, August 15, 2003 02:09 AM


hi,
i want to know the meaning of poolsate.is it inactive state?and what type of beans(ie stateless Sb,Stateful SB,
Entity Bean) have this state?
thanks in advance,
Neelima

Re: About Pooled state

Posted By:   Nick_Maiorano  
Posted On:   Friday, August 15, 2003 10:22 AM

Neelima,



The pool state applies to entity beans. The official definition of a pooled state is when the entity bean object is instantiated but not associated to any row in the database. Typically, this is when entity bean clients have committed the transaction and are finished with the entity bean. Rather than throw away the instance, the ejb container recycles the instance by throwing it in the pool. This is when the entity bean instance is in a pooleed state. When a new client invokes a finder method, the container fetches an instance from the pool and associates it to a database row.

About | Sitemap | Contact