Jakarta Portlet Bridge

https://jakarta.ee/specifications/portlet-bridge/

Defines how Jakarta Faces applications can run within portlet containers by bridging the JSF and portlet lifecycles.

Jakarta Portlet Bridge defines the behavior and APIs necessary for Jakarta Faces applications to operate within a portlet environment. It provides a bridge that aligns the Jakarta Faces lifecycle with the Jakarta Portlet lifecycle. This enables developers to use features such as declarative Facelet views, navigation-rules, and component suites while maintaining compatibility with the multi-phase request and response model defined by portlet containers.

定义了Jakarta Faces应用程序如何通过桥接JSF与Portlet生命周期在Portlet容器中运行。

Jakarta Portlet Bridge规范定义了Jakarta Faces应用程序在Portlet环境中运行所需的行为和API。它提供了一座桥梁,将Jakarta Faces生命周期与Jakarta Portlet生命周期对齐。这使得开发人员能够使用声明式Facelet视图、导航规则和组件套件等特性,同时保持与Portlet容器定义的多阶段请求-响应模型的兼容性。

https://jakarta.ee/specifications/portlet-bridge/7.0/

Jakarta Portlet Bridge 7.0 (under development)

First release of Jakarta Portlet Bridge

Jakarta Portlet Bridge defines the behavior and APIs necessary for Jakarta Faces applications to operate within a portlet environment. It provides a bridge that aligns the Jakarta Faces lifecycle with the Jakarta Portlet lifecycle. This enables developers to use features such as declarative Facelet views, navigation-rules, and component suites while maintaining compatibility with the multi-phase request and response model defined by portlet containers.

雅加达门户桥定义了雅加达Faces应用程序在门户环境中运行所需的行为和API。它提供了一个桥接器,将雅加达Faces生命周期与雅加达门户生命周期对齐。这使得开发人员能够使用声明式Facelet视图、导航规则和组件套件等功能,同时保持与门户容器定义的多阶段请求和响应模型的兼容性。

New features, enhancements or additions

Jakarta Portlet Bridge 7.0 is focused on migrating the JSR 378 Specification and API from Java EE to Jakarta EE. This includes updating package namespaces from javax.portlet.faces to jakarta.portlet.faces and aligning Java EE dependencies such as javax.servlet and javax.faces with their Jakarta EE 10 equivalents.

Jakarta Portlet Bridge 7.0 的重点是将 JSR 378 规范和 API 从 Java EE 迁移到 Jakarta EE。这包括将包命名空间从 javax.portlet.faces 更新为 jakarta.portlet.faces,并将诸如 javax.servletjavax.faces 等 Java EE 依赖项与 Jakarta EE 10 的对应版本对齐。

Future iterations of the project may introduce new features and enhancements, but the initial scope is strictly limited to completing the namespace and dependency migration to ensure compatibility with Jakarta EE 10 and to ease the migration path for developers and organizations.

Removals, deprecations or backwards incompatible changes

As a major release, from the perspective of semantic versioning, Jakarta Portlet Bridge 7.0 introduces breaking changes that affect both Faces applications deployed as portlets. The renaming of packages from javax.portlet.faces to jakarta.portlet.faces will require source code changes and recompilation. These changes are not binary compatible with earlier versions and reflect the transition from Java EE to Jakarta EE.

Minimum Java SE Version

Java SE 11 or higher

目前主要是从 Javax 更新命名空间的迁移,无更多新意。

Jakarta Faces 与 Portlet 容器之间的桥梁机制。

参 考

https://jakarta.ee/specifications/portlet-bridge/

Logo

码道开发者社区,聚焦华为云码道 CodeArts 代码智能体,沉淀 Agent、Skill、鸿蒙开发实战内容,供开发者查阅资料、交流技术、分享工程实践

更多推荐