有没有适用于Java 9 JPMS的JMS模块?

huangapple go评论94阅读模式
英文:

Is there a JMS module for Java 9 JPMS?

问题

在尝试使用Java 9平台模块系统(JPMS)时,我无法找到包含javax.jms包的模块。

https://stackoverflow.com/questions/48204141/replacements-for-deprecated-jpms-modules-with-java-ee-apis列出了几个JEE API的替代方案,但没有提到JMS。
有几个可用的JAR包含此包(例如Maven仓库中的javax.jms:javax.jms-api:2.0.1),但据我所知,没有一个是自动模块,即它们的清单中没有Automatic-Module-Name

是否有可用的JMS JPMS模块?
如果有,它在哪里?

英文:

While playing around with the Java 9 Platform Module System (JPMS), I couldn't find a module containing the javax.jms package.

https://stackoverflow.com/questions/48204141/replacements-for-deprecated-jpms-modules-with-java-ee-apis lists replacements for several JEE APIs, but not JMS.
Several jars are available containing this package (i.e. javax.jms:javax.jms-api:2.0.1 in the Maven repo), but none that I could find are automatic modules, i.e. none of them have Automatic-Module-Name in their manifest.

Is there a JMS JPMS module available?
If so, where?

答案1

得分: 1

以下是您要翻译的内容:

Java EE JMS API 没有对应的 JPMS 模块,但是即使它在清单中没有 Automatic-Module-Name,您可能仍然可以将其作为自动模块 使用。

Java EE JMS API 不会有一个适用的 JPMS 模块,但未来可能会有一个适用于 Jakarta EE 版本 JMS API 的 JPMS 模块(Jakarta EE 是 Java EE 的后续版本)。

英文:

There is not a JPMS module for the Java EE JMS API, but you might be able to use it as an automatic module even if it doesn't have the Automatic-Module-Name in its manifest.

There won't ever be a proper JPMS module for the Java EE JMS API, but there may someday be a JPMS module for the Jakarta EE version of the JMS API (Jakarta EE is the successor to Java EE).

huangapple
  • 本文由 发表于 2020年1月30日 19:46:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/59985365.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定