简体   繁体   English

Application Server,Container和Java EE新版本之间的关系

[英]Relationship among Application Server, Container, and Java EE new releases

I came accross two cases before; 我之前遇到过两种情况:

at first case, I realized that I could not use Servlet 3.0 in Weblogic 10.3.x since Weblogic 10.3.x is Servlet 2.5 container Using Servlet 3.0 with Weblogic 10.3 在第一种情况下,我意识到我无法在Weblogic 10.3.x中使用Servlet 3.0,因为Weblogic 10.3.x是Servlet 2.5容器在Weblogic 10.3使用Servlet 3.0

at second case, Glassfish can be configured for new jSF release by replacing jar files under modules with new ones. 在第二种情况下,可以通过用新文件替换模块下的jar文件,将 Glassfish配置为新的jSF版本。 How do I upgrade the JSF API in GlassFish? 如何在GlassFish中升级JSF API?

The point is that what is the relationship among Application server, Container and Java EE new release? 关键是应用服务器,容器和Java EE新版本之间的关系是什么? I mean when container JSF releases new version does Application server need to upgrade itself? 我的意思是,当容器JSF发布新版本时,Application Server是否需要自我升级? Same concern for Java EE? 对Java EE也有同样的关注吗?

Thanks. 谢谢。

Java EE is a collection of services. Java EE是服务的集合。 A particular version of Java EE specifies the version of each service container (eg Servlet). Java EE的特定版本指定每个服务容器(例如Servlet)的版本。

An application server hosts containers for different services (eg Servlet). 应用服务器托管用于不同服务的容器(例如Servlet)。 A particular version of an app server typically comes bundled with certain versions of containers for different services, which typically match a Java EE version bundle. 应用服务器的特定版本通常与某些版本的容器捆绑在一起以提供不同的服务,这些容器通常与Java EE版本捆绑包匹配。

An application server can be patched to upgrade the container of a particular service. 可以对应用程序服务器进行修补,以升级特定服务的容器。 The procedure may be official or undocumented. 该程序可能是正式程序,也可能是无证文件。 Upgrading to a minor version is usually painless and supported. 升级到次要版本通常很轻松,而且受支持。 Upgrading to a major version is usually unsupported and can often lead to incompatibilities. 通常不支持升级到主要版本,并且通常会导致不兼容。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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