Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to run servlets and JSPs on a different server to EJBs?

0
10 Posted

Is it possible to run servlets and JSPs on a different server to EJBs?

0

AThere are two motivations for doing this. First, it can be argued that servlet and EJB loads scale differently when the user base increases. Some users wish to be able to scale the resources for handling these components differently. Second, EJBs are likely to be more tightly-coupled to a database than is the case for servlets. It can be argued that they have different security requirements.Whatever the motivation, it is possible, in principle, to deploy EJBs on one iAS server and servlets/JSPs on another. However, this is not a mode of operation that iAS was designed to support, and setting it up is likely to be fiddly. I would recommend treating this as an `application partitioning’ exercise; install all components on all servers, and then selectively disable components on the server on which they should not be executed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.