Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Stateless Bean Optimum PoolSize and Caching of StatelessBean

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.
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic