Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic