Differences between APACHE and tomcat

Source: Internet
Author: User
Tags php server apache tomcat

After one year of Java, Apache Tomcat is often used to publish Tomcat server files. Recently, I published my blog to a PHP server to learn that there is an Apache server. After reading some information, I learned that they have the following differences:

  1. Apache is a web server and Tomcat is an application (Java) server. It is only a servlet (JSP is also translated into servlet) container and can be considered as an extension of Apache.
  2. Both Apache and tomcat can be run as independent web servers. However, Apache cannot interpret Java programs (JSP, serverlet)
  3. Apache is a common server and only HTML is supported. However, you can use the plug-in to support PHP and connect to Tomcat (one-way Apache connection to Tomcat means you can access Tomcat resources through Apache. Otherwise)
  4. The two are both containers, but they are released differently. Apache is an HTML container with functions like IIS. Tomcat is a JSP/servlet container for publishing JSP and Java, similar to IBM webshere, EBA WebLogic, and Sun jrun.
  5. Apache and tomcat are independent and can be integrated on a single server.

For example, Apache is a truck with some things such as HTML. But you cannot hold water. To hold water, you must have a container (bucket). Tomcat is a bucket (such as Java), and this bucket can not be placed on a truck.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.