Implementing AJP in Java

In Apache, you can use the mod_jk module to send HTTP requests to Tomcat using the AJP protocol, which is much more efficient than HTTP itself.

I want to do the same, but from a Java program. I want to use "AJP" because of its good features (and Tomcat is not bad in the end).

Does anyone know of a Java implementation on the client side of AJP?

+5
source share
3 answers

Does the tomcat-ajp.jar file in% TOMCAT_HOME% / server / lib have an AJP implementation?

+1
source

There is open Apache ajp-client , if someone needs it:

java- ajp13, .

+1

Without any real idea, but have you already studied the source code for Tomcat? Perhaps Tomcat is not just implementing the host end of AJP.

0
source

All Articles