• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache and Tomcat

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please can anybody tell me the difference b/w Apache and Tomcat.
Can I use Tomcat as my Web Server?If yes, then why do we need Apache anyway?
How do we configure Apache to use with Tomcat?
Waiting in anticipation.
Syed
 
Author
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Tomcat works as a stand-alone web server.
The difference is that Apache is a full fledge web server. Tomcat simply provides support for JSP, Servlets and serving up static content. If you are only developing JSP/Servlets there is no reason you shouldn't just stick with Tomcat. On the other hand if you want support for other stuff like PHP or Python, Tomcat shows you no love. By configuring Apache as you main server you can simply add in the modules for anything it supports.
Some also argue about Apache serving up static content faster. The validity of this statement is questionable, but you should test yourself if it is of interest.
If you would like help configuring Apache/Tomcat check out the Jakarta Tomcat-User listserv. The question is asked all the time and you can find lots of help.
Jayson Falkner
V.P./CTO, Amberjack Software LLC
Jayson@jspinsider.com
www.jspinsider.com
[This message has been edited by Jayson Falkner (edited May 08, 2001).]
 
Syed Hussain
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jayson,
Could you please tell me how to configure Tomcat to use virtual paths
e.g. what will i have to do to use something like http://www.jspinsider.com
instead of http://localhost:8080/FolderName/something.jsp
Syed.
 
Jayson Falkner
Author
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To use a domain name you must purchase it. Try Network Solutions.
After that you point it where you like.
Jayson Falkner
V.P./CTO, Amberjack Software LLC
Jayson@jspinsider.com
www.jspinsider.com
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic