Apache JServ Protocol: Difference between revisions
Cybercobra (talk | contribs) bold acronym |
|||
Line 1: | Line 1: | ||
The '''Apache JServ Protocol''' (AJP) is a binary [[communications protocol | protocol]] that can [[Proxy server|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 balancing (computing)|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''). |
The '''Apache JServ Protocol''' ('''AJP''') is a binary [[communications protocol | protocol]] that can [[Proxy server|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 balancing (computing)|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''). |
||
AJP runs in [[Apache HTTP Server]] 1.x using the [[mod_jk]] [[Plug-in (computing)|plugin]] and in Apache 2.2 using the provided Proxy AJP, [[mod_proxy]] and proxy balancer modules together. The Apache server is written in [[C (programming language)|C]] and the application-server end is generally written in [[Java (programming language)|Java]]. |
AJP runs in [[Apache HTTP Server]] 1.x using the [[mod_jk]] [[Plug-in (computing)|plugin]] and in Apache 2.2 using the provided Proxy AJP, [[mod_proxy]] and proxy balancer modules together. The Apache server is written in [[C (programming language)|C]] and the application-server end is generally written in [[Java (programming language)|Java]]. |
Revision as of 00:29, 8 December 2011
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).
AJP runs in Apache HTTP Server 1.x using the mod_jk plugin and in Apache 2.2 using the provided Proxy AJP, mod_proxy and proxy balancer modules together. The Apache server is written in C and the application-server end is generally written in Java.
Both the Apache Tomcat servlet container as well as the Jetty servlet container support AJP. The WebObjects application server can run (without a servlet deployment) using the LEWOAJPAdaptor from LEWOStuff.
External links
- The Apache Tomcat Connector - AJP Protocol Reference AJPv13
- Apache JServ Protocol version 1.3 Dan Milstein, December 2000.
- Apache Tomcat Configuration Reference The AJP Connector
- Apache Module mod_proxy (Apache Version 2.2)
- Apache Module mod_proxy_ajp
- Implementation of Apache JServ protocol for Internet Information Server