简体   繁体   中英

Implementation of AJP protocol in Java

From Apache, you can use the "mod_jk" module to send HTTP requests to Tomcat using the "AJP" protocol, which is far more efficient that HTTP itself.

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

Does someone know about a Java implementation of the client side of "AJP" ?

%TOMCAT_HOME%/ server / lib中存在的tomcat-ajp.jar是否具有AJP实现?

There's open source Apache ajp-client available if someone needs it:

This is a java implementation of an ajp13 client, allowing to send requests to a servlet container using this protocol.

Whithout any real idea, but have you looked into Tomcat's source code, yet? Maybe Tomcat doesn't just implement the receiving end of AJP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM