我最近必须运行可行性检查以将应用程序从 Jboss 7 升级到 Jboss 8 。在此记录所需的最低兼容版本及其基本原理,以防它对使用类似技术堆栈的任何人有所帮助。
Current Tech | Version | Tech Required for Jboss 8 | Version |
---|---|---|---|
Java | 1.8 | Java | 17 |
Java EE | 8 | Jakarta EE | 9 |
Spring | 2.5.6 | Spring | 6.0.x |
Struts | 1.x | Spring MVC | 6.0.x |
Jboss | 7.1 | Jboss | 8 |
Jakarta EE version | Package names | Description |
---|---|---|
Jakarta EE 8 | javax.* | Same as Java EE 8 only the brand name has been updated. No change in namespace. |
Jakarta EE 9 | jakarta.* | Brand names & package names are updated. Namespace changed to jakarta. |
Jakarta EE 10 | jakarta.* | Brand names & package names are updated along with changes to the API itself. |
Spring version | Supported Jakarta EE version | JDK version |
---|---|---|
Spring Framework 5.3.x | Java EE 7 - 8 | JDK 1.8 - 21 |
Spring Framework 6.0.x | Jakarta EE 9 - 10 | JDK 17 - 21 |
根据 WW-5141,支持 Jakarta EE 9 的 Struts 7.0.0 发行版本尚未发布
以上是Jakarta EE、Java 和 Jboss 兼容性。的详细内容。更多信息请关注PHP中文网其他相关文章!