"Have you used Apache (APACHE ?", "No, I only used Tomcat ". This is a conversation between the job seeker and the interviewer. The job seeker is also trying to figure out that "Apache" appears every time the Web server is started? In addition, the "Tomcat" text appeared again when the background was started. Why does it mean that the two of them are not the same? Haha, I thought Apache was Tomcat for a long time. It seems that they have always appeared at the same time, and most people are talking about tomcat. Few people are talking about Apache, however, the word "Apache" appeared again! It is still not solid enough. I seldom pay attention to this content. Since that interview, I immediately checked their differences at night:
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 ). Apache only supports static Web pages, but dynamic web pages such as ASP, PHP, CGI, and JSP must be processed by Tomcat. Integrated Use of Apache and tomcat: if the client requests a static page, the Apache server only needs to respond to the request. If the client requests a dynamic page, the Tomcat server responds to the request; because JSP is interpreted on the server side, so integration can reduce Tomcat service overhead
.
Apache and tomcat are independent and can be integrated on the same server.
Apache is a web server and Tomcat is an application (Java) server. It is only a servlet container and is an extension of Apache. Both Apache and tomcat can be run as independent web servers, but Apache cannot interpret Java programs (JSP and serverlet ).
The two are both a container, but the publishing is different: Apache is an HTML container with functions like IIS; Tomcat is a JSP/servlet container for publishing JSP and Java, similar to IBM WebSphere, BEA WebLogic, and Sun jrun.
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.
Apache is the world's No. 1 web server. It can run on almost all widely used computer platforms.
Apache originated from the ncsahttpd server and has been modified many times to 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 a free software, so there are people who constantly develop new functions, new features, and modify the original defects for it. Apache is simple, fast, and stable, and can be used as a proxy server. Apache provides excellent support for Linux.
"Have you used Apache (APACHE ?", "No, I only used Tomcat ". This is a conversation between the job seeker and the interviewer. The job seeker is also trying to figure out that "Apache" appears every time the Web server is started? In addition, the "Tomcat" text appeared again when the background was started. Why does it mean that the two of them are not the same? Haha, I thought Apache was Tomcat for a long time. It seems that they have always appeared at the same time, and most people are talking about tomcat. Few people are talking about Apache, however, the word "Apache" appeared again! It is still not solid enough. I seldom pay attention to this content. Since that interview, I immediately checked their differences at night:
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 ). Apache only supports static Web pages, but dynamic web pages such as ASP, PHP, CGI, and JSP must be processed by Tomcat. Integrated Use of Apache and tomcat: if the client requests a static page, the Apache server only needs to respond to the request. If the client requests a dynamic page, the Tomcat server responds to the request; because JSP is interpreted on the server side, so integration can reduce Tomcat service overhead
.
Apache and tomcat are independent and can be integrated on the same server.
Apache is a web server and Tomcat is an application (Java) server. It is only a servlet container and is an extension of Apache. Both Apache and tomcat can be run as independent web servers, but Apache cannot interpret Java programs (JSP and serverlet ).
The two are both a container, but the publishing is different: Apache is an HTML container with functions like IIS; Tomcat is a JSP/servlet container for publishing JSP and Java, similar to IBM WebSphere, BEA WebLogic, and Sun jrun.
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.
Apache is the world's No. 1 web server. It can run on almost all widely used computer platforms.
Apache originated from the ncsahttpd server and has been modified many times to 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 a free software, so there are people who constantly develop new functions, new features, and modify the original defects for it. Apache is simple, fast, and stable, and can be used as a proxy server. Apache provides excellent support for Linux.