Can EJB Server And Web Server Reside At Remote Locations On Internet
posted 6 years ago
In the project I am working on, there is requirement for separating web tier server and business tier server. If I am going to use EJB for calling remote methods, does it really matter that whether these two server are on same network or are located on remote sites on Internet? Can I still use EJB session beans to do remote method invocation? If yes, then can someone please suggest what difficulties can arise or it would be great if I can get some tutorial or steps to achieve this.
Web Tier and Business Tier can live in different servers. And yes, using remote EJB is a right way to achieve it.
Both servers should reside in the same network for security and performance reasons. The two of them must be behind a firewall and probably you will need a LAN with a high bandwidth to communicate both tiers.