• Post Reply Bookmark Topic Watch Topic
  • New Topic

Managing resource Over head in EJB  RSS feed

 
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

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!