Java EE / J2EE与J2SE / JDK版本之间的关联 [英] Correlation between Java EE / J2EE to J2SE / JDK versions

查看:218
本文介绍了Java EE / J2EE与J2SE / JDK版本之间的关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确信我会找到一个重复的问题或一个令人满意的答案,但我没有。

I was certain that I'll find a duplicate question or a satisfying answer, but I haven't.

我正在寻找的是答案这些问题:

What I'm looking for is the answer to these questions:


  • Java EE / J2EE与J2SE / JDK版本之间是否存在官方关联?

  • 如果答案是肯定的,那么它写在哪里?

  • 如果答案是否定的,为什么呢?并且是否存在非官方版本表(例如,JDK 1.4适用于J2EE 1.3,JDK 1.5适用于J2EE 1.4,JDK 1.6适用于Java EE 5等等)

我可以想到解耦的几个原因,但似乎无法找到一个好的参考源

I can think of a couple of reasons for the uncoupling, but can't seem to find a good reference source

相关问题:

Java SE vs Java EE,大学和职业

什么是Java EE?

推荐答案


Java之间是否存在官方关联EE / J2EE和J2SE / JDK版本?

Is there an official correlation between Java EE / J2EE and J2SE / JDK versions?

Sun可能会尝试保持某种关联,以免混淆用户并且为了营销目的但是,AFAIK,没有,没有官方关联(维持伪同步可能会变成随着JDK的发展速度超过Java EE规范,将来会更难。

Sun may try to keep some kind of "correlation" to not confuse users and for marketing purpose but, AFAIK, no, there is no official correlation (and maintaining the pseudo synchronisation might become harder in the future as the JDK evolves faster than the Java EE specification).

更新:我错了,有实际上是一种相关性(见下文)。但我仍然认为这可能会成为一个问题:Java 7计划在2010年底推出,专家组是否会成功在Java 8和Java 7 EOL之前推出Java EE 7?

UPDATE: I was wrong, there is actually a correlation (see below). But I still think that this might become a problem: Java 7 is scheduled for late 2010, will the expert group succeed to roll out Java EE 7 before Java 8 and Java 7 EOL?


如果答案是肯定的,那么它写在哪里?

If the answer is yes, where is it written?

引用 JSR 151:JavaTM 2平台,企业版1.4(J2EE 1.4)规范主页:



  • J2EE 1.4是Java平台1.4版的企业版,因此​​将构建在J2SE 1.4上。 / li>
  • J2EE 1.4 is the Enterprise Edition of version 1.4 of the Java platform, and thus will be built on J2SE 1.4.

引用 JSR 244:Java(TM)平台,企业版5(Java EE 5)规范主页:



  • Java EE 5是Java平台版本5的企业版,因此​​将构建在J2SE 5.0上。

引用 JSR 316:JavaTM平台,企业版6(Java EE 6)规范主页:



  • Java EE 6是Java平台版本6的企业版,因此​​将基于Java SE 6构建。

说真的,为什么我们必须去JCP网站找到这个(也许我应该从那里开始)?

Seriously, why do we have to go to the JCP website to find this (maybe I should have started there though)?


如果答案为否,那么为什么?

If the answer is no, then why?

Java Enterprise版本是规范,而不是实现。它可能依赖于特定功能(如Java EE 5和Java 5泛型),但 JDK版本实际上取决于您正在使用的容器的实现。请参阅下面的Websphere示例。 (即使在上面的 UPDATE 之后,这仍然适用。)

Java Enterprise Edition is a specification, not an implementation. It might rely on specific features (like Java EE 5 and Java 5 generics) but the JDK version is actually dependent upon the implementation of the container you are using. See the Websphere example below. (This still applies, even after the big UPDATE above.)


并且是否存在非官方版本表(例如,JDK 1.4适用于J2EE 1.3,JDK 1.5适用于J2EE 1.4,JDK 1.6适用于Java EE 5等等)

and is there an unofficial version table (e.g. JDK 1.4 goes well with J2EE 1.3, JDK 1.5 goes well with J2EE 1.4, JDK 1.6 with Java EE 5 and so on)

正如我上面所说,顺利并不真正有意义,因为这取决于您正在使用的容器,容器可能具有不同的兼容性要求(例如,IBM WebSphere的J2EE 1.4服务器可能无法使用JDK 5)。所以,我宁愿在需求方面说话。

As I said above, "goes well" doesn't really makes sense as this depends on the container you are using and containers might have different compatibility requirements (for example IBM WebSphere's J2EE 1.4 server may not work with JDK 5). So, I'd rather speak in terms of requirements.

J2EE 1.4 SDK与JDK 5捆绑在一起但是...... J2EE 1.4需要JDK 1.4或更高版本。 Java EE 5需要JDK 5或更高版本。 Java EE 6需要JDK 6或更高版本(现在JDK 5的EOL处于2个月以上)。

The J2EE 1.4 SDK is bundled with JDK 5 but... J2EE 1.4 requires JDK 1.4 or later. Java EE 5 requires JDK 5 or later. Java EE 6 requires JDK 6 or later (JDK 5 is at its EOL for 2+ months now).

这篇关于Java EE / J2EE与J2SE / JDK版本之间的关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆