Discussions

EJB programming & troubleshooting: Pros/Cons of using separate app server instance for EJBs

  1. I'm using two instances of WebLogic for development. I use one to run my web application and the other for my EJBs (all are stateless with a current total of 7 thus far). My primary reason for doing this is to reduce my restart time for my web application whenever I make a source code change.

    Now we are contemplating whether this makes sense for the production environment. I can think of a few pros/cons of using separates instances or using one instance for both web app and the EJBs.

    Can anyone provide some links to articles or books on the pros and cons of using a separate instance for the EJBs? Thanks.
  2. The biggest pro is that you can scale your hardware more efficiently (accurately). The con is that if you don't need to scale, you are losing a lot of performance due to unnecessary networking.
  3. http://e-docs.bea.com/wls/docs70/cluster/planning.html