We are in the process of converting a servlet application over to an ejb
application.  The main reason for doing this is for clustering - to
eliminate a single source of failure and increase load capacity.

Our original thought was to have the ejb's run inside of one server and the
servlets run inside a different server.  Our first guess is that we would
have a 2:1 ration between servlet machines and ejb machines.  For example we
could have 4 machines hosting the servlet's and 2 machines hosting the
ejb's.

The other arhictecture option that we have thought about would be to run the
servlets and ejb's inside the same machine (ie use a .ear file).  In this
case we would dedicate all 6 boxes to the combined application.  Doing this
would appear to reduce network traffic since everything would be a
in-process call.

With these two options we wanted to start with the n-tier approach first and
once we load test it and get a benchmark in place - try the combined
approach so we can compare the results.

However I have been unable to get the n-tier system configured with
jBoss3.0.  I've tried to host the servlets in a stand-alone tomcat container
and also within a jBoss/jetty server - but in both cases can't get the jndi
lookup to succeeed.

I'm wondering what other people think about this approach?  Do people think
the .ear approach is better so its not worth bothering with the n-tier
approach?  Has anybody been able to get a n-tier type sustem working with
jBoss3.0?

Thanks,

Gray


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to