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

EJB server

 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<quote>
"Conceptually, an EJB server may have many containers, each of which may contain one or more types of Enterprise beans"
</quote>
Pg 43 (chpt 2) Monson-Haefel book


My question is : if one container can contain more than one type of enterprise beans, then what is the advantage of having more than one container per EJB server ?
 
Danl Thompson
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One reason, In case one of the containers crash, the rest of the containers can keep running. WebSphere has each container in its own JVM for this reason.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!