Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Help me, a question about Apache Tomcat

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I know Apache Tomcat 5.0.28 is a application server which is built in Web server. So could you tell me the version of Apache web server is built in Apache Tomcat ?
I wonder if I have to install Apache web server or not (after I installed Apache Tomcat 5.0.28
Thanks so much for your help
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apache Tomcat is a web server and servlet container (written in Java), while Apache HTTPD is a web server (written in C). The Tomcat download does not include the Apache HTTPD web server, which is what most people refer to when they say "Apache". (The fact that both are developed under the umbrella of the Apache organization might be confusing you.)
 
Duong Hanh Nguyen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks so much for your answer, Ulf Dittmer
However if I use Apache Tomcat for development environment then how about the deployment environment ?
Are there any differences between them ?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are many differences between the Apache web server and Tomcat.
Apache by itself cant run servlets and JSP for one thing.
There is no reason not to deploy your application on Tomcat - UNLESS - you have to deploy to a site already running Apache.
Configuring Apache to refer servlet and JSP requests to Tomcat can be a real pain in the neck.
Bill
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To add to Bills comment:
Depending on the percentage of static to dynamic resources on your site, the extra overhead of passing requests/responses back and forth from httpd to Tomcat may actually be less efficient than just running Tomcat as a standalone.

Try running Tomcat as a standalone server.
If you have performance issues, weigh all of your options for improving the situation.
Using a separate webserver is only one of them.
 
Duong Hanh Nguyen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all your help. I think I've got the information that I need
Thanks so much
 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic