This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Container separation.  RSS feed

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks.
Cristian.
 
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Simon
 
Cristian Cardenas
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks.
Cristian.
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!