Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat standalone?  RSS feed

 
rishadq
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
A newbie question: can Tomcat run as a standalone server, independantly of Apache or IIS? If so, why bother running the other servers at all?
Thanks,
- Q
 
Sreenivasa Majji
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutely. You can run Tomcat either independently or with other web servers such as Apache, IIS. Integration with other web server is a choice, some people like it some people don't. Personally I use <a href="http://www.caucho.com">Resin </a>, which fast and simple installation and simple integration with Apache, supports JSP 1.2 and Servlets 2.3 specifications.

------------------
<b>Sreenivasa Kumar Majji</b>
Sun Certified Java Programmer
<a href="http://www.geocities.com/skmajji/Main.html">SCJP Mock Test</a>
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason why Tomcat is often fronted by some other webserver - such as Apache - is that Tomcat's power comes at a price. Tomcat's written in Java and has connectors in it for Java services. When all you need is to fetch an html file and send it, its overhead is higher than that of something like Apache. So, if you have a high-volume website and performance is an issue, you let Apache do what it does best and Tomcat do what IT does best.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!