Home >Common Problem >What is apache tomcat?
Apache is a web server, Tomcat is an application server, apache tomcat is just a servlet container, an extension of Apache; both Apache and Tomcat can run as independent web servers, but Apache cannot interpret java programs.
Apache is a web server, and Tomcat is an application (java) server. It is just a servlet container and an extension of Apache. Both Apache and Tomcat can run as independent web servers, but Apache cannot interpret java programs (jsp, servlet).
Both are a kind of container, but they publish different things: Apache is an html container, which functions like IIS; Tomcat is a jsp/servlet container, used to publish jsp and java, similar to IBM websphere, BEA's Weblogic, sun's JRun, etc.
For example: Apache is a truck, which can hold some things such as html. But it cannot hold water. To hold water, you must have a container (bucket). Tomcat is a bucket (to hold water like Java), and this bucket does not need to be placed on the truck.
Apache is the world's number one web server. It runs on almost all widely used computer platforms.
Apache originated from the NCSAhttpd server. 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 are constantly developing new functions and features for it, and modifying the original defects. Apache is characterized by simplicity, fast speed, stable performance, and can be used as a proxy server. Apache's support for Linux is quite perfect.
The above is the detailed content of What is apache tomcat?. For more information, please follow other related articles on the PHP Chinese website!