Apache-Tomcat的整合---什么是JK[1]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 shanshanboy 的 blog

 

what's jk?

jk is a replacement to the elderly mod_jserv. it was a completely new tomcat-apache plug-in that handles the communication between tomcat and apache.

the newest jk2 is a refactoring of jk . the native part has been completly restructured and the configuration has been simplified a lot.

jk is more than just an apache module, since it could be used with majors webserver :

  • mod_jk is an apache module to be used with apache 1.3 and 2.0 webservers.
  • isapi is a redirector to be used with iis .
  • nsapi is a redirector to be used with netscape/iplanet .
  • dsapi is a redirector to to be used with domino .

why should i use the jk?

jk was develop to overcome many limitations of its ancestor, mod_jserv .

mod_jserv was too complex and because it was ported from apache/jserv, it brought with it lots of jserv specific bits that aren't needed by apache.

where mod_jserv supported only apache webservers on unix os, jk supports much more web servers and operating systems through via a compatibility layer named the jk library . the layered approach provided by the jk library makes it easier to support many different webservers and os.

jk offer better support for ssl, that's was a problem with mod_jserv which couldn't reliably identify whether a request was made via http or https.

jk can, using the newer ajpv13 protocol which relay many ssl informations required by servlet 2.2 and 2.3 specs.

jk offers a lot of different and flexible communications between a web server and the tomcat servlet engine and could be used today with all of the asf tomcat engines, 3.2.x , 3.3.x , 4.0.x , 4.1.x and 5.x


what's the difference between jk and jk2?

本文关键:Apache-Tomcat的整合---什么是JK
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top