Search the archives.  This topic comes up regularly.  Basic questions
usually do. ;)

Quickly: yes, there are all sorts of advantages to using Apache with Tomcat:

- don't have to run Tomcat as root on port 80
- can use all Apache modules
- can use other dynamic technologies (PHP, etc)
- Apache is tuned for static content, Tomcat is not
- One or many Apaches can distribute load to one or many Tomcats (even on
separate machines)

...and on and on.  

In general, use Tomcat stand-alone unless there is a need for Apache.  Many
people have problems getting the two to work together, it may not be worth
the effort if your project doesn't really need Apache.

John


> -----Original Message-----
> From: alan sparago [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 3:43 AM
> To: [EMAIL PROTECTED]
> Subject: tomcat and apache vs tomcat standalone
> 
> 
> I have a very basic question. What are the advantages/disadvantages of
> using Apache connected with Tomcat compared to just using Tomcat
> Standalone? Assuming I'm just using Java and don't need any other
> connector or module like PHP, Perl or C. 
>  
> Are there any scalability, flexibility or efficiency 
> differences between
> those two options?
>  
> Alan Sparago
> [EMAIL PROTECTED]
> 602 494 9596
>  
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to