• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Part II. Two Webservers and single app server

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we distribute the Web container and EJB container in two different servers? (Web.jar in Web server and ejb.jar in application server)
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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



no, those are web containers
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Cleuton Sampaio
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The Application server is used to host EJB�s.

Cleuton (Brazil)
 
Vidyasagar Guduru
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for you replies, I am just going through the J2EE design book and we can have Web container in a separate box.
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic