This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Container separation. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container separation." Watch "Container separation." New topic

Container separation.

Cristian Cardenas
Ranch Hand

Joined: Jan 29, 2002
Posts: 50
I'm developing an application in Weblogic that has a web app and some EJBs. My technical leader suggested me to separate the Web Container and the EJB Container, using Tomcat as the Web Container and Weblogic as the EJB Container.
Does this separation have performance problems?
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
The short answer is that it depends...
If your web and EJB tiers are expected to process significantly different loads (and have different scalability properties), then separating the containers can make sense. However, if this isn't the case, you need to ask what this will bring you.
First of all, using a Tomcat front-end to a WebLogic EJB container will make deployment much more difficult since you will have to deploy the WebLogic JNDI classes and EJB stubs into Tomcat. With a WebLogic server, you can utilise the EAR format. From a performance perspective, you are forcing remote communication between the architectural tiers through this deployment scenario.
These are a couple of the side-effects, but is there a specific reason behind the plan to separate the containers?
Cristian Cardenas
Ranch Hand

Joined: Jan 29, 2002
Posts: 50
No, there isn't a good reason for that. My boss only wants to separate the containers, and I'm trying to show him the problems that it's going to bring.
subject: Container separation.
Similar Threads
Tomcat and Bea Weblogic
diff b/w tomcat and weblogic
ejb container
Web Server and App Server!!!
app'server and container