aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Part II. Two Webservers and single app server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Part II. Two Webservers and single app server" Watch "Part II. Two Webservers and single app server" New topic
Author

Part II. Two Webservers and single app server

Vidyasagar Guduru
Greenhorn

Joined: Apr 17, 2006
Posts: 26
Application hardware had two web servers and one application server.

My understanding is Application server will be hosting J2EE Container, which is combination of Web and EJB Container.
So our Jsps, Servlets, Business logic, EJBs all are residing in J2EE container that is the Application Server.
In practice web servers are only used for static content (HTML, gifs, JS etc.) and they are only used for redirecting the JSP requests to J2EE container.

So why they choose two web servers? How we are going to achieve scalability and high performance.
Above all single application server means single point of failure.

How you guys are handling this questions.
[ August 29, 2006: Message edited by: Vidyasagar Guduru ]
Vidyasagar Guduru
Greenhorn

Joined: Apr 17, 2006
Posts: 26
Can we distribute the Web container and EJB container in two different servers? (Web.jar in Web server and ejb.jar in application server)
Kayman
Ranch Hand

Joined: Oct 27, 2004
Posts: 40
I was under the assumption you can justify increasing hardware requirements
if needed. For eaxmple if the performance metrics do not satify requirements (<=5/10 sec etc).

Can anybody shed anymore light on the matter?
Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149
Originally posted by Vidyasagar Guduru:
Can we distribute the Web container and EJB container in two different servers? (Web.jar in Web server and ejb.jar in application server)


yes, exactly
Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149

In practice web servers are only used for static content (HTML, gifs, JS etc.)


no, those are web containers
Cleuton Sampaio
Ranch Hand

Joined: Nov 11, 2005
Posts: 181
Hey,

As far as I understood, the two e450 are intended to be web containers (J2EE Web Containers). You may install a J2EE container, like Bea�s Weblogic or JBoss.

Pay attention to the Non-functional requirements! (I should not say it here, but think in load balance).

Cleuton (Brazil)


Cleuton Sampaio<br />Systems Architect<br />(SCEA,SCWCD,SCBCD,MCSE,MCSD)
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Hi Cleuton,

You said:


As far as I understood, the two e450 are intended to be web containers (J2EE Web Containers). You may install a J2EE container, like Bea's Weblogic or JBoss.


If so, what is the E10000 machine used for? It's called the application server.....

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Cleuton Sampaio
Ranch Hand

Joined: Nov 11, 2005
Posts: 181
Hi,

The Application server is used to host EJB�s.

Cleuton (Brazil)
Vidyasagar Guduru
Greenhorn

Joined: Apr 17, 2006
Posts: 26
Thanks for you replies, I am just going through the J2EE design book and we can have Web container in a separate box.
Santiago Urrizola
Ranch Hand

Joined: Apr 27, 2006
Posts: 172
In practice web servers are only used for static content (HTML, gifs, JS etc.)
no, those are web containers


Web containers -> Servlet and JSP -> Dynamic contents
Web servers -> HTMLS and images -> static contents

I think documentation is very clear in this point, it says two WEB SERVERS, so we can understood to use this as the documentation says "Web server" (for static contents)
yo can use clustering in application server side increasing the number or ejb container o web container instances in case you need.
this is just my opinion.
[ August 30, 2006: Message edited by: Santiago Urrizola ]

Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
 
 
subject: Part II. Two Webservers and single app server
 
Similar Threads
difference between j2ee application server and web server
Authentication using Sun Access Manager 7 and webmethods portal
Pooling outgoing HTTP connections
"Fast lane reader" on the Swing client
Application servers and servlets - how do they fit together