In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what is the difference between APP server and Web server". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Web server transfer (serves) pages enable browsing by browsers, and Web servers specialize in processing HTTP requests (request).
APP server provides methods (methods) that client applications can call (call), and provides (serves) business logic (business logic) for applications through many protocols.
1. Web server
Web server can parse (handles) the HTTP protocol. When the Web server receives a HTTP request (request), it returns a HTTP response (response), such as a HTML page. In order to process a request (request), the Web server can response a static page or image, perform a page jump (redirect), or delegate the generation of a dynamic response (dynamic response) to some other program such as CGI script, JSP (JavaServer Pages) script, servlets,ASP (Active Server Pages) script, server-side JavaScript, or some other server-side (server-side) technology. Regardless of their purpose, these server-side-side programs usually generate a HTML response for browsers to browse.
You know, the proxy model (delegation model) of the Web server is very simple. When a request is sent to the Web server, it simply passes the request (request) to the program that can handle the request (request) well. The Web server only provides an environment that can execute server-side (server-side) programs and return response (response) generated by the program, without going beyond the scope of its functions. Server-side (server-side) programs usually have the functions of transaction processing (transaction processing), database connection (database connectivity) and message (messaging).
Although the Web server does not support transaction processing or database connection pooling, it can configure (employ) various strategies (strategies) to achieve fault tolerance (fault tolerance) and scalability (scalability), such as load balancing (load balancing) and buffering (caching). Cluster characteristics (clustering-features) are often mistaken for only application server-specific features.
II. APP server
According to our definition, as an application server, it exposes business logic to (expose) client applications through various protocols, including HTTP. The Web server mainly deals with sending HTML to the browser for browsing, while the application server provides access to business logic for use by client applications.
The client of the application server (including a graphical user interface (GUI)) may run on a PC, a Web server, or even another application server. The information to traveling back and forth between the application server and its client is not limited to simple display tags. Instead, this information is program logic (program logic). It is precisely because this logic takes the form of (takes) data and method calls (calls) rather than static HTML, so the client can use this exposed business logic at will.
In most cases, the application server exposes business logic (to client applications) through the application program interface (API) of the component (component), such as the EJB (Enterprise JavaBean) component model based on the J2EE (Java 2 Platform, Enterprise Edition) application server. In addition, the application server can manage its own resources, such as gatekeeper work (gate-keeping duties) including security (security), transaction processing (transaction processing), resource pool (resource pooling), and messages (messaging). Just like the Web server, the application server is configured with a variety of extensible (scalability) and fault tolerant (fault tolerance) technologies.
Today, the WEB server can also transmit the XML payload (payload) to the server and has the ability to process data and respond (response). To some extent, the APP server server also includes the WEB server function.
That's all for the content of "what's the difference between APP server and Web server". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.