gpt4 book ai didi

java - JDK 11 中是否有 CORBA 的替代库

转载 作者:IT老高 更新时间:2023-10-28 21:09:06 25 4
gpt4 key购买 nike

JDK-11 将删除 JDK 的许多旧部分 (JEP-320)。其中一些(例如 JAXB)功能将作为常规库提供。您只需添加另一个依赖项,一切都会再次正常运行。

但 CORBA 并非如此,因为

There is no significant interest in developing modern applications with CORBA in Java

然而,我处于痛苦的境地,需要维护仍然需要 CORBA 的旧应用程序,同时仍想更新到 JDK-11。

是否有替代库或其他在不删除这些应用程序的 CORBA 功能的情况下迁移到 JDK-11 的好方法?

最佳答案

你绝对可以看看javaee/glassfish-corba .记录在案的 home page读取 -

The GlassFish ORB complies with the CORBA 2.3.1 specification, andwith the CORBA 3.0 specifications for the Interoperable Name Serviceand Portable Interceptors. It includes both IDL and RMI-IIOP support.The GlassFish ORB has an open, extensible architecture that supportsflexible configuration and extension through an open SPI.

JEP 本身也应该让开发人员感兴趣 -

The risks of removing the java.corba module are:

1. CORBA implementations will not compile or run if they include only asubset of the "endorsed" CORBA APIs and expect the JDK to provide theremainder.

2. Applications and CORBA implementations that use RMI-IIOP will notcompile or run. The RMI-IIOP packages (javax.rmi and javax.rmi.CORBA)are located in the java.corba module and tied to the CORBAimplementation therein, so there will be no RMI-IIOP support in JavaSE once java.corba is removed.

3. Applications and CORBA implementations that use the javax.activitypackage will not compile or run. This package is located in thejava.corba module and tied to the CORBA implementation therein, sothere will be no support in Java SE once java.corba is removed.

还有更远的地方

  • The transition of stewardship of Java EE from the JCP to the Eclipse

Foundation includes the GlassFish implementation of CORBA andRMI-IIOP.

另外,

关于java - JDK 11 中是否有 CORBA 的替代库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51710274/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com