• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Entity Pool / Session Bean Pool

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Questions seems to be silly, but I want to know whether all the Entity Beans (Say Customer Bean, Cabin bean) are maintained in the same Entity Bean pool. Similary for stateless session bean pool are pooled in the same pool? If so then there will be around lots of bean be pooled in resource which will eat lots of memory?

Is it not possible whether we can have only 10 bean instances for all the entity beans (say 10 entity beans) and based on the method invocation the bean instance be serviced.

Thanks & Regards,
M.S.Raman
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Spec does not dictate it. So it's container specific. Weblogic allows to control these parameters.

Yet, I'd recommend not to be concerned about resources as long as you don't see any problems. Don't fall into premature optimization.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic