Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Entity Bean instance pool!

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic