tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bárbara Vieira <barbar...@di.uminho.pt>
Subject RE: Why use a Web Server over Tomcat?
Date Tue, 08 Jan 2008 13:53:11 GMT
Diego and Kristian,
I understand your perspective. But, my question is about security. Why
systems banks use an IIS Server instead of an Apache Server over a Tomcat
Server(or some servlet container), if that systems authenticate the client
using servlets technology or some technology supplied by some servlet
container like Tomcat?

I understand the fact that systems uses a Web Server over another to serve
static content. But if in my application all content is closed, i.e., every
client that wants to accede to that content must be authenticated and that
authentication is controlled by Tomcat. Should I have some Web Server over
Tomcat? I think that if I have an Apache Server over Tomcat, it causes an
overhead, because all requests sent to Apache, must be sent to Tomcat.

Regards,
Bárbara Vieira


 

-----Original Message-----
From: Diego [mailto:diegoy@gmail.com] 
Sent: terça-feira, 8 de Janeiro de 2008 12:06
To: Tomcat Users List
Subject: Re: Why use a Web Server over Tomcat?

Review the list archives for the disproof of this myth.  Tomcat 5.0 and
above are quite capable of serving static content, efficiently enough that
you'll saturate your network connection long before you saturate disk,
memory or CPU.

So unless you have one of the situations like those described by Kristian.
Like having other technologies like PHP you don't have to make load balance
with Apache 2.

Its way better to make a load balance with several Tomcats since you can
make a load balance of your dynamic content too.

On Jan 8, 2008 9:56 AM, Peter Crowther <Peter.Crowther@melandra.com> wrote:

> > From: Kristian Rink [mailto:kristian@zimmer428.net]
> > Asides this, while tomcat and "friends" (servlet containers) are made
> > to serve up, well, J2EE web tier applications, web servers like
> > apache2, lighttpd, ... are usually better at serving "static" content
> > (images, static css files, html documents that don't contain any
> > logic, ...).
>
> Review the list archives for the disproof of this myth.  Tomcat 5.0 and
> above are quite capable of serving static content, efficiently enough that
> you'll saturate your network connection long before you saturate disk,
> memory or CPU.
>
>                - Peter
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Diego


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message