Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes Ejb Containers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Ejb Containers" Watch "Ejb Containers" New topic
Author

Ejb Containers

Mila
Ranch Hand

Joined: Feb 14, 2002
Posts: 31
Hello,
Does anyone know how many Ejb Containeres "usually" are in typical J2EE/Ejb Server?
Are there multiple instances of Ejb Containers running all Ejbs or just one containet running all Ejb instances?
I know that different vendors might implement this in different way but if someone could tell how it's usually done.
BR
MTL
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

I know of no benefit whatsoever to running more than one EJB container per appserver. I do know that WebLogic recommends running at most no more appservers than you have CPUs if performance is the consideration.
In a clustering system, you have one "virtual" appserver and multiple machines each running an individual appserver, but even then, one EJB container (at most) per machine suffices.
The only justification for running multiple servers would be to isolate systems in case of failure or test vs. production systems, but even there you'd normally only see one EJB container (max) per appserver.


Customer surveys are for companies who didn't pay proper attention to begin with.
Mila
Ranch Hand

Joined: Feb 14, 2002
Posts: 31
Thanks for answering!!!
I thought also, that there are one container, but
wasn't sure. Older Ejb books does not usually
cover this informartion clear enought.
I'm practicing to Sun's Exams and trying also to clear myself these kind of issues.
Br
MTL
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ejb Containers
 
Similar Threads
Q:Web Container
Can I set EJB load order?
CMP and Underlying table changes
ServletConfig & Servlet Context
static variables in EJB bean