Differences between revisions 6 and 7
Revision 6 as of 2009-07-08 16:27:52
Size: 6193
Comment:
Revision 7 as of 2009-09-20 23:01:08
Size: 6205
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
[[Anchor(BridgeValue)]] <<Anchor(BridgeValue)>>
Line 5: Line 5:
[#BridgeValue permlink] [[#BridgeValue|permlink]]
Line 11: Line 11:
[[Anchor(BridgeVersion)]] <<Anchor(BridgeVersion)>>
Line 13: Line 13:
[#BridgeVersion permlink] [[#BridgeVersion|permlink]]
Line 21: Line 21:
[[Anchor(BridgeSpec)]] <<Anchor(BridgeSpec)>>
Line 23: Line 23:
[#BridgeSpec permlink] [[#BridgeSpec|permlink]]
Line 27: Line 27:
[[Anchor(BridgeSpecStatus)]] <<Anchor(BridgeSpecStatus)>>
Line 29: Line 29:
[#BridgeSpecStatus permlink] [[#BridgeSpecStatus|permlink]]
Line 50: Line 50:
[[Anchor(JSF2.0)]] <<Anchor(JSF2.0)>>
Line 53: Line 53:
[#JSF2.0 permlink] [[#JSF2.0|permlink]]
Line 57: Line 57:
[[Anchor(FacesUse)]] <<Anchor(FacesUse)>>
Line 59: Line 59:
[#FacesUse permlink] [[#FacesUse|permlink]]

Portlet Bridge for JavaServer Faces FAQ

What is the Portlet Bridge and why is it useful to me?

permlink

The Portlet Bridge for JavaServer Faces is a technology that sits between a portlet container and the JSF runtime enabling JSF applications to be exposed and run as portlets. By doing the heavy lifting of translating between the portlet runtime environment and the environment expected by JSF, the Portlet Bridge allows one to write an application once and run it in both the web (servlet) container and the portlet container. Its even designed so that a single deployment can be run concurrently as a web application and a portlet appliction.

For JSF developers its value is it extends the reach of the developed JSF application into Portal environments. For portlet developers its value is it provides an easy to use, modern, standard, application development/runtime platform in which to express your portlet functionality.

Why is there more than one bridge?

permlink

The Portlet Bridge for JavaServer Faces is a technology that sits between a portlet container and the JSF runtime enabling JSF applications to be exposed and run as portlets. Because differing versions of the portlet container and JSF exist, a distinct bridge implementation is provided for each combination of the two systems versions. This ensures a best possible fit for each possible pair. Currently, this project is providing implementations for the two portlet versions (1.0 and 2.0) within the JSF 1.2 environment. In the future work will appear to support portlet 2.0 within JSF 2.0.

The MyFaces Portlet 1.0 Bridge for JavaServer Faces 1.2 is the reference implementation for JSR-301. The JSR-301 specification is currently in "Proposed Final Draft" form.

The MyFaces Portlet 2.0 Bridge for JavaServer Faces 1.2 is the reference implementation for JSR-329. The JSR-329 specification is currently in "Early Public Draft" form.

Why is there more than one JSR?

permlink

Though it was originally hoped to produce both the Portlet 1.0 and Portlet 2.0 versions of the bridge within a single JSR (JSR-301) they were eventually split into two distinct JSRs to better fit within the JCP infrastructure. JSR-301 contains the specification for the Portlet 1.0 Bridge for JavaServer Faces 1.2. JSR-329 contains the specification for the Portlet 2.0 Bridge for JavaServer Faces 1.2.

What is the status of each JSR/specification?

permlink

JSR-301: Portlet 1.0 Bridge for JavaServer Faces

  • Specification: The first version of the Proposed Final Draft was submitted in December, 2008. The second version of the Proposed Final Draft was submitted in late June, 2009. It will appear on the JCP site in July. At this point no further updates are planned, pending feedback on this second version and/or issue arising from developing the TCK.

    RI: The Reference Implementation corresponds to the implementation in this project (MyFaces Portlet Bridge). The MyFaces Portlet Bridge 1.0.0-beta distribution corresponds to the function described in the first Proposed Final Draft. The MyFaces Portlet Bridge 1.0.0-beta2 distribution corresponds to the function described in the second Proposed Final Draft. This later distribution will appear on the project's site in July. The reference implementation is considered complete pending issues arising from developing the TCK or newly discovered bugs filed in the JIRA system.

    TCK: The set of tests for the TCK are under development. Its projected a complete set (TCK) will be available by fall 2009. Once the TCK is complete the above will be submitted to the JCP for final standard approval.

JSR-329: Portlet 2.0 Bridge for JavaServer Faces

  • Specification: The first Early Public Review Draft was submitted in December, 2008. The second version of the Early Public Review Draft was submitted in late June, 2009. It will appear on the JCP site in July. The next version is anticipated for fall 2009. Its likely that the next submission will be the formal Public Review. The Proposed Final Draft is planned for late 2009.

    RI: The Reference Implementation corresponds to the implementation in this project (MyFaces Portlet Bridge). The MyFaces Portlet Bridge 1.0.0-alpha distribution corresponds to the function described in the first Early Public Review Draft. The MyFaces Portlet Bridge 1.0.0-alpha2 distribution corresponds to the function described in the second Early Public Review Draft. This later distribution will appear on the project's site in July. Each implementation is fully functional.

    TCK: Development of the (extended) TCK tests will commence once the JSR-301 tests are complete. Its projected a complete set (TCK) will be available by late 2009. The current schedule calls for JSR-329 to be submitted for final standard approval by spring 2010.

What about JSF 2.0 support. Is a JSR planned? When will there be an implementation?)

permlink

A Portlet 2.0 Bridge for JavaServer Faces 2.0 is planned. A preliminary prototype was developed in January 2009 to test feasibility and provide feedback while the Faces 2.0 specification was being completed. Once JSR-301 and JSR-329 are complete, serious development targeting Faces 2.0 will continue. Prior to that it is hoped an alpha release can be completed and released, though to do so will need community help and support. In addition, its not yet decided whether such work will be done within a JSR. Feedback from the community is needed to gauge the need for a new specification.

Do I have to run the MyFaces Portlet Bridge with MyFaces (core)

permlink

No. The bridges in this project are designed to work with any Faces 1.2 implementation. Its been regularly used with various versions of Mojarra 1.2 (Faces RI) as well as MyFaces 1.2.

MyFaces_Portlet_Bridge_FAQ (last edited 2009-09-20 23:01:08 by localhost)