• 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

Stateless Bean Optimum PoolSize and Caching of StatelessBean

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,//Help needed
I have two questions

1) I have a stateless session EJB (say MyEJB)deployed in weblogic 7 (on a linux box with weblogic allocated memory as 256 mb)with maximum pool size as 100.Now my stateless session EJB calls sequentially two classes namely A and B. Class A access a HTTPServlet and retrieves a message and gives that message to another Stateless Session EJB(with pool size 100) through class C. Now I tried to increase the EJB pool size from 100 to 500 in both the beans in order to increase the performance. To my surprise the EJBBean Instance in use is not increasing beyond 80 even though when I try to pump in Heavy loads of data (i.e when I try to access simultaneously 1000 instances of "MyEJB" from a client program).Why is the EJBPool size is not growing Beyond a particular limit say 80 in this case ?.
2)Is it advisable to cache a stateless session beans object ?If i cache will it affect the Scalability of the stateless session EJB?

Thanks for reading my question patiently and trying to solve it.
regards
Smyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic