JDK 11中是否有CORBA的替代库 [英] Is there a replacement library for CORBA in JDK 11

查看:98
本文介绍了JDK 11中是否有CORBA的替代库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

JDK-11 will remove a lot of older parts of the JDK (JEP-320). For some of them (e.g. JAXB) functionality will be provided as regular library. You simply add another dependency and everything works fine again.

但是对于CORBA却不是这样,因为

But not so for CORBA, because

在Java中使用CORBA开发现代应用程序的兴趣不大

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

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

I am however in the painful situation of needing to maintain older applications that still require CORBA while still wanting to update to JDK-11.

是否存在替换库,或者在不删除这些应用程序的CORBA功能的情况下,迁移到JDK-11的另一种好方法?

Is there a replacement-library out there or another good way of migrating to JDK-11 without removing the CORBA functionality of these applications?

推荐答案

您绝对可以看看 javaee /glassfish-corba .记录在案的首页读为-

You can definitely take a look at javaee/glassfish-corba. The documented home page reads -

GlassFish ORB符合CORBA 2.3.1规范,并且 与可互操作名称服务的CORBA 3.0规范兼容 和便携式拦截器.它包括IDL和RMI-IIOP支持. GlassFish ORB具有开放的,可扩展的体系结构,该体系结构支持 通过开放的SPI进行灵活的配置和扩展.

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

JEP本身对开发人员也有兴趣-

Further what shall also interest developers, from the JEP itself -

删除java.corba模块的风险是:

1..如果仅包含一个CORBA实现,则它们不会编译或运行. 认可的" CORBA API 的子集,并希望JDK提供 其余的.

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

2.使用 RMI-IIOP 的应用程序和CORBA实现不会 编译或运行. RMI-IIOP软件包(javax.rmijavax.rmi.CORBA) 位于java.corba模块中并绑定到CORBA 实现,因此Java中将不提供 RMI-IIOP 支持 删除java.corba后SE.

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

3..使用javax.activity的应用程序和CORBA实现 程序包将无法编译或运行.该程序包位于 java.corba模块并绑定到其中的CORBA实现,因此 删除java.corba后,Java SE将不再支持.

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

再往下走

Java EE的管理权从JCP过渡到Eclipse 基础包括 CORBA的GlassFish实现和 RMI-IIOP .

The transition of stewardship of Java EE from the JCP to the Eclipse Foundation includes the GlassFish implementation of CORBA and RMI-IIOP.

另外,

  • The "CORBA interop package" if required is implemented along with the artifact javax.transaction : javax.transaction-api.

这篇关于JDK 11中是否有CORBA的替代库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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