A little summary of the server, Web server, Web container

Source: Internet
Author: User
Tags app service

The so-called server, broadly speaking there are many concepts, hardware perspective is a high-performance computer. The services we usually refer to

The computer should be installed with the server software that can handle the specific request transaction. For example, the most common WWW server, mail Service

Servers, FTP servers, and more. Many times people often call a Web server such as Tomcat, IIS, and Weblogic.

This is easy for beginners to confuse, but these are just for developing, integrating, deploying and managing Web applications, network applications, and databases

Application Server Software.
So how does a Web container understand it? The popular web container is the software that supports publishing Web applications.
b/S structure, with the common water supply system for example, the entire web system is like a complete water supply system, the user only need to have a faucet

(broswer), the water pipe equivalent to the computer network (network), water supply system (ie, server), wherein the pressure water tank

is the container (Container).
Tomcat is a sub-project of Apache-jarkarta, an open source, free JSP and servlet technology container, which

It is also a Web server software. Since many beginners are using Tomcat for development, there is a clear grasp of the overall

necessary.

The primary task of a servlet container is to manage the life cycle of the servlet. And the Web container you're talking about should be called a Web server, which is to manage and deploy Web applications. There is also a server called the application server, it is more powerful than the Web server, because it can deploy EJB applications, can implement container-managed transactions, the general application server has WebLogic and WebSphere, etc., they are commercial servers, powerful but all charged. The most typical Web container is tomcat, and Tomcat is the Web container and the servlet container.

A web container is like a TV servlet containers are like VCD You can watch TV without VCD, right, but with VCD without TV, where do you look? :)

Without the servlet container, you can also use the Web container to access static pages directly, such as installing an Apache, but if you want to display Jsp/servlet, you will install a servlet container, but the light has a servlet container is not enough, Because it is parsed into HTML output, you still need a Web container.

But, look, I said, but, most servlet containers provide the functionality of the Web container at the same time, meaning that most servelt can run your Web application independently.


Web containers can only interact with static Web pages, but when it comes to displaying JSPs and Servlets, a Web server is used, namely: in general, web containers and Web servers can be represented on a single software (TOMCAT).

The difference between Web server (TOMCAT) and Application Server (Jboss) is that the Web server is mainly used in the display layer (JSP and Servet), and the application server is used in the business logic layer, in a sense the Web server belongs to the subset of the application server.

The servlet server belongs to the Web server, which manages the life cycle of the servlet, while the application Server (Jboss) manages the bean of the business layer in the container.

Tomcat belongs to the Web server, Jboss,weblogic,webspere belongs to the app service class

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.