Let us assume we use J2EE technology (JSP/Servlet/EJB etc.) for FBN travel system (scea partII). If we pick weblogic or websphere, each of them can serve as both of web server and application server. Normally web servers are only used for static contents, and application servers are for dynamic contents (such as JSPs/Servlets). For FBN system, I do not see much static contents, what is the purpose to use even two web servers for the task. I would say it is better to cluster all machines as a cluster of application servers--- each of them serves both of static contents and dynamic contents. Any comments about the deployment? Thanks in advance! Chenping Ni
If you personally don't deal with any static content it doesn't necessarily mean there is none. Every commercial web application has allot of it. Two web hosts are for a purpose of load balancing. Those will work as a frontfacers for app servers.
Another choice we have is to put all JSPs/Servlets on web servers, and put business logic on the application server. Enterprise Architect for J2EE technology study guide (Mark Cade, P. 51 and P. 53) takes that approach. Chenping Ni
Another choice we have is to put all JSPs/Servlets on web servers, and put business logic on the application server
If you deploy jsps/servlets onto a web server, then that web server needs a servlet engine and will soon be another app server. Honestly, I don't know where you are going with this.. Web servers are placed in front of appserver for several reasons: 1. You can place the web server outside the firewall, and route all requests to your app server that reside inside the firewall 2. You can place one or more webservers for load-balancing and/or fail-over support You don't need to have application content on the web server, but will serve as a proxy into your app server. Rama [ February 25, 2003: Message edited by: Rama Raghavan ]
Rama Raghavan<br />SCJP2<br />SCWCD
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop