Web Server (software ): Apache HTTP Server. Replace nginx Web container: Tomcat, Http://tomcat.apache.org/whoweare.html, implementing JSP, Servlet,Provides an environment for JSP compilation and execution. Provides dynamic Web Services. However, it can also provide static Web page resolution services, which are integrated with the former, but not capable of the former. Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. In addition to opening webpage documents on a local hard disk, Web browsers can also use the HTTP network protocol to access web servers on the network. (Also called WWW server. 2. Web browsers and web servers represent the TCP network.Program. 3. Regardless of the size of the website, the minimum task is to install a web server software on a computer that is used as a web server. Only To install Web server software on a computer, the computer can become a web server.Web Server Including hardware, computer, software, and web server software.. Currently, there are two types of web server software: IIS and Apache, However, they do not directly support Servlet and JSP programs. To run Servlet and JSP in these web server software, you must also Integration with a Servlet and JSP Container (engine. 4. Tomcat is a Servlet and JSP Container recommended by Sun. It can be integrated into IIS and Apache. Tomcat also has Web Servers Some basic functions of the server are only basic functions. For general web applications, we can directly use Tomcat as the web server software . 5. On the J2EE platform, Servlet, JSP, and EJB containers are available. 6. The main task of the servlet container is to manage the servlet lifecycle. WhileWeb container, which is used to manage and deploy Web Applications, Individual It is considered that web containers include web servers, servelt, and JSP containers. Of course, Tomcat can be considered as a sevlet container or web Containers also have common web server software features Server:In a broad sense, there are many concepts. The hardware is a high-performance computer. We usually refer to the service It is actually a computer with the server software that can process specific request transactions. For example, the most common WWW server and mail service Server, billing server, FTP server, etc. Many timesTomcat, IIS, and WebLogic are also called Web servers., This is confusing for beginners,In fact, these are only used for the development, integration, deployment and management of web applications, network applications and databases. Application Server Software Used. Web container:In layman's termsWeb containers are software that supports Web application release.. Under the B/S structure, taking the common tap water supply system as an example, the whole web system is like a complete water supply system, users only need to have a tap (Broswer), a water pipe is equivalent to a computer network (network), a water supply system (server) of a water supply company, where a pressure water tank It is the container. The main task of the servlet container is to manage the servlet lifecycle. A server is called an application server, which has more powerful functions than a Web server, because it can deploy EJB applications and implement transactions managed by containers, generally, application servers include Weblogic and websphere, which are both commercial servers and are powerful but cost-effective. Tomcat is the most typical Web Container. Tomcat is a Web Container and servlet container. Web containers are like televisions
Servlet containers are like VCD
You can watch TV without VCD, right? :)
Without servlet containers, you can also use web containers to directly access static pages, such as installing an Apache, but to display JSP/servlet, you need to install a servlet container, however, servlet containers are not enough because they are parsed into HTML output, so you still need a Web container. However, note that, however,
Most servlet containers provide the Web Container function at the same time, that is, most servelts can run your web applications independently.
|