The Apache JServ Protocol (AJP) is a binary protocol that can proxy inbound requests from a web server through to an application server that sits behind the web server.
It also supports some monitoring in that the web server can ping the application server. Web implementors typically use AJP in a load-balanced deployment where one or more front-end web servers feed requests into one or more application servers. Sessions are redirected to the correct application server using a routing mechanism wherein each application server instance gets a name (called a route). In this scenario the web server functions as a reverse proxy for the application server. Lastly, AJP supports request attributes which, when populated with environment-specific settings in the reverse proxy, provides for secure communication between the reverse proxy and application server.
AJP runs in Apache HTTP Server 1.x using the mod_jk plugin and in Apache 2.x using the provided Proxy AJP, mod_proxy and proxy balancer modules together. Implementations exist for the not-yet-released lighttpd version 1.5, nginx, Grizzly 2.1, and the Internet Information Server.
The Apache Tomcat and JBoss AS/WildFly servlet containers support AJP.
Video Apache JServ Protocol
History
Alexei Kosut originally developed the Apache JServ Protocol in July 1997 but the version 1.0 specification was published later on July 29, 1998. He also wrote the first implementations of it in the same month, with the releases of the Apache JServ Servlet Engine 0.9 and the Apache mod_jserv 0.9a (released on July 30, 1997).
The specification was updated to version 1.1 on September 9, 1998. Also in 1998, a revamped protocol was created and published in specification versions 2 and 2.1, however it was never adopted.
The current specification remains at version 1.3, however there is a published extension proposal.
Maps Apache JServ Protocol
See also
- Web Services for Remote Portlets
References
External links
- The Apache Tomcat Connector - AJP Protocol Reference AJPv13
- Apache JServ Protocol version 1.3 Dan Milstein, December 2000.
- "BonCode Connector". BonCode. 2016-08-16. Retrieved 2017-10-09. BonCode IIS implementation of AJP
Source of article : Wikipedia