JServ/Tomcat/OC4J 有何区别 mod_jserv 和 mod_jk 的演变

简介: OC4J:Oracle Containers for J2EE,OC4J provides all the containers, APIs, and services mandated by the J2EE specification. OC4J可以作为独立J2EE Server存在,比如你开发的JSP和Servlet,打包成war/ear文件,然后部署到OC4J容器供用户调用。

OC4J:
Oracle Containers for J2EE,OC4J provides all the containers, APIs, and services mandated by the J2EE specification. 
OC4J可以作为独立J2EE Server存在,比如你开发的JSP和Servlet,打包成war/ear文件,然后部署到OC4J容器供用户调用。

Oracle EBS 11i的时候是使用JServ(Java servlet containers) 作为J2EE Server,到了R12,使用OC4J替代JServ来作为J2EE容器。
默认Oracle Application会创建3个OC4J Instance:
  • OACore: 运行OA Framework应用;
  • Forms: 运行Forms-base 应用;
  • OAFM (Oracle Apps Fusion Middleware): 运行web services, mapviewer, ascontrol

JServ :

one of the very first servlet engines(比较老的容器了). It is now an open source project, consisting of two parts: a pure-java servlet engine, compliant with the Servlet spec version 2.0, and an Apache module written in C called mod_jserv that allows Apache to send servlet requests to the JServ JVM.


Tomcat:

a completely separate product, originally written by Sun, that is now also open-source and administered by Apache. It supports the Servlet spec version 2.2, and the JSP spec version 1.1. It also contains a pure Java servlet engine, and a number of connectors for several commercial web servers.



下面就是讲述mod_jserv和mod_jk的演变:

大致意思是,mod_jserv是 Jserv用来和Apache做连接的,tmocat也想搞一个,用来和Apache连接,本来打算那mod_jserv改改,重新写写,但是写了一段时间后发现,还是不行,最后干脆重新自己写个新的吧,就叫mod_jk,这个新的就是tomcat拿来和Apache 连接用的。功能还不错,支持SSL。。。


Here's the confusing part: originally, when it was time to write a connector from Apache to Tomcat, they started with the code base of mod_jserv. Although it has been rewritten and revised to the point where it is no longer compatible with the mod_jserv that comes with JServ, unfortunately, it is still called mod_jserv. This means that if you have the JServ mod_jserv installed, it will no twork with Tomcat, and vice versa(反之,也是如此).


Fortunately(幸运的是), the latest version of Tomcat comes with a new connector for Apache, called mod_jk. This connector supports Tomcat but not JServ. It is also more advanced, in that it supports Tomcat-style load balancing, and also supports SSL authentication (though this latter functionality is still a bit rough and may have bugs in actually *reporting* that the connection is secure).

So if you just use mod_jk and Tomcat, you should have no problems (at least as far as this connector issue is concerned).


相关文章
|
Web App开发 应用服务中间件 Apache
|
Java 应用服务中间件 开发工具
httpd与tomcat基于mod_jk整合
搞定在前面述, httpd与tomcat整合方式 当前已知的有 ajp_proxy,mod_jk.so jk connecteor连接器下载地址 http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/ 具体搞定策略步骤 1,...
815 0
|
1月前
|
XML 应用服务中间件 Apache
Tomcat AJP连接器配置secretRequired=“true“,但是属性secret确实空或者空字符串,这样的组合是无效的。
Tomcat AJP连接器配置secretRequired=“true“,但是属性secret确实空或者空字符串,这样的组合是无效的。
|
4月前
|
Java 应用服务中间件 Maven
Maven - 两种Tomcat插件的配置
Maven - 两种Tomcat插件的配置
127 0
|
10天前
|
前端开发 Java 应用服务中间件
Springboot对MVC、tomcat扩展配置
Springboot对MVC、tomcat扩展配置
|
4月前
|
Java 应用服务中间件 容器
SpringBoot配置外部Tomcat并打war包
SpringBoot配置外部Tomcat并打war包
68 0
|
4天前
|
运维 Java 应用服务中间件
Tomcat详解(七)——Tomcat使用https配置实战
Tomcat详解(七)——Tomcat使用https配置实战
12 4
|
4月前
|
Java 应用服务中间件
SpringBoot 项目war包部署 配置外置tomcat方法
SpringBoot 项目war包部署 配置外置tomcat方法
70 0