What is Application Server
Application Server (Application Server) - a program that is a server that deals with system support for applications and ensures their life cycle in accordance with the rules defined in the specifications. It can operate as a full-fledged stand-alone web server or be a page provider for another web server. Provides data exchange between applications and clients, assumes the implementation of such functions as creating a software environment for a functioning application, identifying and authorizing clients, organizing a session for each of them.
The most famous Java application servers are:
- Apache Tomcat
- Jetty
- JBoss
- GlassFish
- IBM WebSphere
- Oracle Weblogic
What is the difference between Web server and Application server
The concept of a web server refers rather to a method of transferring data (specifically, over the HTTP protocol), while the concept of Application server refers to a way of executing these very applications (specifically, remote processing of client requests using some programs hosted on the server). These concepts cannot be put in one row. They represent different features of the program. Some programs satisfy only one criterion, some - several at once.
Apache Tomcat can run applications? Yes, it means it is an application server. Apache Tomcat can send data over HTTP? - Yes. Hence it is a web server.
Take some database in which complex logic is described on stored procedures and you can even send sms in response to SQL queries. Such a database can be called an application server, but the web server is no longer, because all this does not work with the client over the HTTP protocol.
Take pure Apache, which doesn't include any modules to support programming languages. He knows how to serve only static files and pictures via the HTTP protocol. It is a web server, but not an application server. Include the PHP support module and put a PHP program there that makes database queries and dynamically renders pages. Now Apache is also an application server.
Read also:
- Examples of basic design patterns
- Examples of generative design patterns
- Examples of structural design patterns
- Examples of behavioral design patterns
Comments
Post a Comment