• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity Bean instance pool!

 
Tulsi Rai
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
At what point of times the container creates an instance of an entity bean and put it into the pool? What causes the container make an instance of that entity bean?Does it make multiple instances of an entity bean and put them into the pools so that it can provide when clients needs them?
i would appreciate if you could clearify my confusion here.
thanks.
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tulsi,
Just as with stateless session beans, the container creates new entity beans and adds them in the pool ... just when it wants to do so . There is no rule. Those pre-created beans will be there to serve home business methods and finders from the pool itself and be temporarily taken out of the pool each time a bean in the method-ready state is needed.
Regards,
Phil.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB pooling is vendor specific.
For weblogic 8.1
http://edocs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#max-beans-in-free-pool
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic