apache tomcat is different

1. Apache is a web server, Tomcat is an application (java) server, it is just a servlet container and an extension of Apache. 

2. Both Apache and Tomcat can run as independent web servers, but Apache cannot interpret java programs (jsp, serverlet).

3. Apache is an ordinary server, and it only supports html, that is, ordinary web pages. However, it can support php through plug-ins, and can also connect with Tomcat (one-way Apache connection to Tomcat means that Tomcat resources can be accessed through Apache. Not vice versa)

4. Both are containers, but they publish different things: Apache is a html container, the function is the same as IIS; Tomcat is a jsp/servlet container, used to publish jsp and java, similar to IBM's webshere, EBA's Weblogic, sun's JRun and so on.

5. Apache and Tomcat are independent and can be integrated on one server.

To make an analogy: Apache is a truck that can hold some things such as html and so on. But it can't hold water. To hold water, you must have a container (bucket). Tomcat is a bucket (for water like Java), and this bucket can also not be placed on the truck.

Apache only supports static web pages, but dynamic web pages like asp, php, cgi, jsp need Tomcat to handle.

Integrated use of Apache and Tomcat: if the client requests a static page, only the Apache server needs to respond to the request; if the client requests a dynamic page, the Tomcat server responds to the request; because jsp is the server-side interpreted code, so integration can Reduce Tomcat's service overhead.

Apache is the number one web server used in the world. It can run on almost all widely used computer platforms .

Apache is derived from the NCSAhttpd server, and after many modifications, it has become one of the most popular web server software in the world. Apache is taken from the pronunciation of "a patchy server", which means a server full of patches. Because it is free software, people continue to develop new functions, new features, and modify original defects for it. Apache is characterized by simplicity, high speed, stable performance, and can be used as a proxy server. Apache's support for Linux is perfect.

Apache has a variety of products that can support SSL technology and support multiple virtual hosts. Apache is a process-based structure. Processes consume more system overhead than threads and are not suitable for multi-processor environments. Therefore, when expanding an Apache Web site, it is usually to increase servers or expand cluster nodes instead of increasing processor. So far, Apache is still the most used Web server in the world, with a market share of about 60%. Many well-known websites in the world such as Amazon.com, Yahoo!, W3 Consortium, Financial Times, etc. are all products of Apache. Its success lies mainly in its open source code, an open development team, and support for cross-platform Application (can run on almost all Unix, Windows, Linux system platforms) and its portability .

The birth of Apache is very dramatic. When the NCSA WWW server project came to a halt, those who used the NCSA WWW server began exchanging their patches for the server, and they quickly realized the need for forums to manage these patches. In this way, the Apache Group was born, and this group later created Apache on the basis of NCSA. If you are going to choose a web server, there is no doubt that Apache is your best choice.

Tomcat is an open source, Java-based Web application container for running servlets and JSP Web applications. Tomcat Server is implemented according to the servlet and JSP specifications, so we can say that Tomcat Server also implements the Apache-Jakarta specification and is better than most commercial application software servers.

Tomcat is a standard implementation of Java Servlet 2.2 and JavaServer Pages 1.1 technologies, and is free software developed under the Apache License. Tomcat is a completely rewritten Servlet API 2.2 and JSP 1.1 compatible Servlet/JSP container. Tomcat uses some code from JServ, specifically the Apache service adapter. With the advent of the Catalina Servlet engine, the performance of the fourth edition of Tomcat has been improved, making it a servlet/JSP container worth considering, so many WEB servers currently use Tomcat.

**JSP=Java Server Pages (Java Server Pages)
**ASP=Active Server Pages (Active Server Pages)
**CGI=Common Gateway Interface (Common Gateway Interface)
** J2EE =Java 2 Platform, Enterprise Edition ( Java2 Platform, Enterprise Edition)
**XML=eXtensible Markup Language (Extensible Markup Language)
**IIS=Internet Information Server

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326710917&siteId=291194637