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).


相关文章
|
3月前
|
存储 Java 应用服务中间件
Tomcat 支持 PFX 格式和 JKS 两种格式的证书区别
【10月更文挑战第2天】Tomcat 支持 PFX 格式和 JKS 两种格式的证书区别
237 3
|
3月前
|
Dubbo Java 应用服务中间件
剖析Tomcat线程池与JDK线程池的区别和联系!
剖析Tomcat线程池与JDK线程池的区别和联系!
167 0
剖析Tomcat线程池与JDK线程池的区别和联系!
|
3月前
|
Java 应用服务中间件 Apache
浅谈Tomcat和其他WEB容器的区别
Tomcat是一款轻量级的免费开源Web应用服务器,常用于中小型系统及并发访问量适中的场景,尤其适合开发和调试JSP程序。它不仅能处理HTML页面,还充当Servlet和JSP容器。相比之下,物理服务器是指具备处理器、硬盘等硬件设施的服务器,如云服务器,其设计目标是在处理能力、稳定性和安全性等方面提供高标准服务。简言之,Tomcat专注于运行Java应用,而物理服务器则提供基础计算资源。
|
5月前
|
缓存 Java 应用服务中间件
在Linux中,Tomcat和Resin有什么区别,工作中怎么选择?
在Linux中,Tomcat和Resin有什么区别,工作中怎么选择?
|
5月前
|
前端开发 Java 应用服务中间件
在Linux中,tomcat和nginx的区别是什么?
在Linux中,tomcat和nginx的区别是什么?
|
负载均衡 Java 应用服务中间件
|
Java 应用服务中间件 Apache
httpd与tomcat的联系与区别
Apache httpd与Tomcat都是Apache开源组织开发的,用于处理HTTP服务的项目,两者都是免费的,都可以作为独立的web服务器运行。Apache httpd是web服务器,而Tomcat是Java应用服务器。
371 0
|
Web App开发 负载均衡 网络协议
一文看懂Tomcat、Nginx和Apache的区别
一文看懂Tomcat、Nginx和Apache的区别
469 0
一文看懂Tomcat、Nginx和Apache的区别
|
负载均衡 安全 Java
Nginx & Tomcat - 区别
Nginx & Tomcat - 区别
107 0
|
Java 应用服务中间件 容器
Tomcat和Resin有什么区别,工作中你怎么选择?
Tomcat和Resin有什么区别,工作中你怎么选择?
431 0