Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Managing resource Over head in EJB

 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is the best way of managing resource over head in ejb? Is it by limiting the number of bean methods per bean, which increases the number of beans or Increasing the number of bean methods per bean, which decreases the number of beans or setting other environment options like session/passivation timeout.
thanks,
Ramdhan YK
 
prabhu anand inbarajan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best way of managing resources would be by optimally using the resources. Which would be keeping a minimal number of bean instances and making best use of the bean swapping techniques by setting the passivation timeouts.
Correct me if i am wrong.
tx.
prabhu
Originally posted by Ramdhan Kotamaraja:
Hi,
What is the best way of managing resource over head in ejb? Is it by limiting the number of bean methods per bean, which increases the number of beans or Increasing the number of bean methods per bean, which decreases the number of beans or setting other environment options like session/passivation timeout.
thanks,
Ramdhan YK

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!