如何找出 websphere 使用的 Java EE 规范版本?

How to find out what version of Java EE specification websphere uses?

我想知道我的 Websphere 应用程序服务器(传统的,不是 Liberty)提供了哪个版本的 Java EE 规范。不幸的是,我不知道在哪里可以找到这样的信息。 WAS 版本是

WebSphere Platform 8.5.5.11 [BASE 8.5.5.11 cf111649.01] [IBMJAVA8 8.0.3.20 cf111647.02]

您的版本符合Java EE 7,并已通过Oracle 认证。您可以在 http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html 看到,其中列出了所有 Java EE 认证的服务器。

根据 IBM 文档,它应该是版本 6。

完整列表在这里: https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/rovr_specs.html

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <scope>provided</scope>
</dependency>

OP 询问了 WebSphere Application Server 传统基础 8.5.5,最终答案是 this IBM KnowledgeCenter doc. WAS traditional v9 brings the spec level to EE7 as noted here. Liberty, as noted in this KnowledgeCenter doc 中列出的 JEE6,从 8.5.5.6 版本开始支持 JEE7。上面引用的 Oracle 文档验证 WAS Liberty 是从 8.5.5.6 开始的 JEE7 认证,而 WAS traditional 是从 v9.