Java DRP Project Combat: Web Application Server

Source: Internet
Author: User
Tags html page http request jboss tomcat tomcat server

Introduction

Web application Server Now a lot of people are using, but what is the Web application server, what does it have to do with the Web server, what is the relationship between it and the application server, it is one of them two, or a simple combination of two servers?

To understand the problem, we need to know what the Web server is and what the application server is, and now we're going to look at both servers.

Web server

The Web server (WebServer) can parse (handles) the HTTP protocol. When a Web server receives an HTTP request, it returns an HTTP response (response), such as sending back an HTML page. We explain this process further, when a request is sent to a Web server, it simply passes the request to the server-side (server-side) that can handle the request. Program. So the Web server simply provides an environment that can perform server-side (server-side) programs and return (program-generated) responses (response) without exceeding the scope of the function.

The server-side (server-side) program that you just mentioned often has features such as transaction processing (transactionprocessing), database connectivity (DB connectivity), and messages (messaging). These features are not owned by the Web server, but Web servers can be configured to implement these functions, and can be configured to implement fault tolerance (faulttolerance) and Scalability (scalability), such as load balancing (loading balancing), Buffering (caching) and so on.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/Java/

The Web server handles HTTP requests specifically, and then routes (serves) pages so that browsers can browse. The summary is that the Web server is primarily for customers to be able to access through the browser, the Web server and the browser to deal with, It has to deal with the main information: session, request, response, HTML, JS, CS and so on. Common Web servers are IIS, Apache.

Application Server

The application server (theapplication server) provides a method (methods) that the client application can invoke (call) for use by the client application. The methods that can be invoked can also be commercial (business) logic, The application server is used to handle these business logic.

Further information about the traveling between an application server and its clients is not limited to simple display tags, such as static HTML, where the information is passed back and forth including (takes) data and method calls (calls).

The Application server provides (serves) commercial (business) logic (Businesslogic) to the application or client through many protocols. For example, Application server JSP, processing a non-standard Web page (JSP file), he dynamically generated Web pages, generated Web pages sent to the client (in fact, when the application server processing a JSP request and complete the JSP generated HTML after its task is over, The rest is the process of Web server processing.

Web server and Application server

In b/S architecture, Web server is the premise and foundation of Application server. The Web server accepts the request from browse (HTTP). In order to extend the application of the web (such as dealing with background database) Early can use some DLLs to complete, and then the company used the application server to enrich this performance, the Web server and application server one after the first,

Most application servers now contain Web servers, which means that the Web server can be treated as a subset of the application Server (subset). And we'll call the Web application server The application server that contains the Web server.

Common Web application servers

With the above, we already know the composition of the Web application server, and here we'll introduce some common Web application servers.

Apache

Apache is the world's first-ranked Web server. It originates from the NCSAHTTPD server, and when the NCSAWWW server project is stopped, people who use the NCSA WWW server begin exchanging patches for this server, which is also the origin of the Apache name (Pache patch). Its success lies in its Open-source source, an open development team, cross-platform applications (which can run on almost all UNIX, Windows, Linux system platforms), and its portability.

Tomcat

Tomcat is a Java-based Web application container that runs servlet and jspweb applications, but does not contain an EJB container. The Tomcat server is a free open source Web application server. Tomcat is a core project in the Jakarta Project of the Apache Software Foundation (Apachesoftware Foundation), developed jointly by Apache, Sun and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP specifications are always reflected in Tomcat, and Tomcat supports the latest servlet and JSP specifications. Because Tomcat technology advanced, stable performance, and free, so deeply loved by the Java enthusiasts and has been recognized by some software developers, as the current more popular Web application server.

Websphere

WebSphere is IBM's product, based on the Java EE, the support for JSP,SERVLET,EJB is very good! WebSphere is the most important software platform for an on demand e-business era. It can develop, deploy, and integrate a new generation of e-business applications, such as Business-to-business e-business, and support commercial applications from simple Web content publishing to enterprise-class transactions, including JSP and servlet containers, as well as web containers and EJB containers, complete Web application servers

Jboss

JBoss contains JSP and servlet containers, as well as web containers and EJB containers, a complete Web application server. JBoss is a Java application server that runs EJBS. It is an open source project that follows the latest Java EE specification. Since the JBoss project began, it has evolved from an EJB container into a web-based operating system based on Java EE (operatingsystemfor web), which embodies the latest technology in the Java EE specification, Contains JSP and Servlet container, also can make Web container, also contain EJB container, is a complete Java EE application Server.

Weblogic

WebLogic is a product of BEA, a Web application server for developing, integrating, deploying, and managing large distributed Web applications, network applications, and database applications. WebLogic is used to develop, integrate, deploy, and manage large distributed web applications, Web application server for network applications and database applications. The Java dynamic functionality and Javaenterprise standard security are introduced into the development, integration, deployment, and management of large network applications.

Postscript

As the first contact with this knowledge, the Web server, application server and Web application Server understanding, may also have a lot of deficiencies, please make corrections, common progress.

Author: csdn blog Zhang-Wen-kang

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.