AJP协议的Java实现
在 Apache 中,您可以使用“mod_jk”模块使用“AJP”协议向 Tomcat 发送 HTTP 请求,这比 HTTP 本身要高效得多。
我想做同样的事情,但是是从 Java 程序中进行。 我想使用“AJP”,因为它的性能很好(而且Tomcat毕竟也不错)。
有人知道“AJP”客户端的 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" ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
%TOMCAT_HOME%/server/lib 中的 tomcat-ajp.jar 没有 AJP 实现吗?
Doesn't the tomcat-ajp.jar present in %TOMCAT_HOME%/server/lib have the AJP implementation?
如果有人需要的话,可以使用开源 Apache ajp-client :
There's open source Apache ajp-client available if someone needs it:
没有任何真正的想法,但是您研究过 Tomcat 的源代码吗? 也许Tomcat不仅仅实现了AJP的接收端。
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.