(Caveat: This advice is worth every penny you're paying for it :-).

I liked this line the best. It surely is. Thanks.

Deepak

-----Original Message-----
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 2:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Difference Between Tomcat/IIS/ and Apache


On Thu, 7 Mar 2002, Charles Conover wrote:

> I would love to know more about this, too.  I'm looking at upgrading
> a Win2000/Apache/JServ configuration to Apache/Tomcat to run my
> servlets (and hopefully fix the sporadic "Internal Server Errors")
> and I am wondering the same thing.  Tomcat seems to start Apache,
> but I'm not sure if that is the case.
[ ... ]

Tomcat is a "servlet container", and can be "plugged in" to a number
of web servers (such as Apache, IIS, and others) to add servlets/JSPs
capability.  When set up this way, all requests go to the web server
first, and certain requests will be directed to Tomcat (generally
servlets/JSPs), with the web server handling other requests
(e.g. static pages).

Tomcat can also be run in "standalone" mode, independent of any web
server.  I believe when run in this mode there is a special servlet
that handles static pages.  In essence, when run this way, Tomcat is
the entire web server.

So, if this is the case, why would you ever use Tomcat with a separate
web server?  Because generally Tomcat as a web server is less robust,
less configurable, has less functionality (e.g. cgi), and doesn't
perform as well as full blown web servers.  If you have a small site
that's not going to see much traffic, and is mostly/all dynamic
content handled by servlets/JSPs, then maybe you want to use Tomcat
standalone.  Otherwise, you probably want to use Tomcat combined with
a "real" web server.

(Caveat: This advice is worth every penny you're paying for it :-).


> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> EZEILO Uchenna
> Sent: Thursday, March 07, 2002 6:42 AM
> To: [EMAIL PROTECTED]
> Subject: Difference Between Tomcat/IIS/ and Apache
>
>
> Hi all,
> I am new to Servlets and first chapter of first book I read says
> download and install Java Web Server or Tomcat.So I install Tomcat
> which was more readily available and it runs fine.  But each time I
> see people asking questions having to do with running Tomcat and
> IIS/Apache together I wonder if I am missing something.Is Tomcat not
> able to do all these web services alone? Why does it need assistance
> from either IIS or Apache ?  Please can somebody explain this to me.
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to