Hey all,
 
I am trying to run JBoss on one computer, and Orion on another (soon to be replaced with Jetty). I want to simulate a multi-tier setup so that we can scale on both web and middle tiers. When I deployed ejbs and servlets in same container, all was fine. Never tried using Orion in two separate JVMs to access EJBs in one container from the other container. I got one reply on the forums saying to just look up the EJB name, not the java:comp/env/ejb/Name. My worry is that this would break an application if you have to change every reference to getting EJB's. So how can I get one servlet container to get access to any EJB container (any = one or more because when you scale your load balancer (i assume) would send the request to get an ejb to a server based on load).
 
I'd appreciate any examples, or any links to show how to do this. I tried the jboss.org documentation but it didn't really have this example. For those responsible for the jboss docs, I think this would be a very beneficial topic to include in the tutorial section. A lot of people would be interested in this no doubt as multi-tier is one of the big reasons to move to J2EE, to separate your business logic into its own tier so that you can scale the web tier or the middle tier separately as needed.
 
Thanks guys/gals, appreciate any help.

Reply via email to