Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Portlet 2.0 Specification Ready for Public Review

Portlet 2.0 Specification Ready for Public Review

Version 2.0 of the Portlet Specification (JSR 286) has been released for public review. The reference implementation for this JSR will be the Apache Pluto project. The new Portlet Specifications will add functionality that was not addressed in the first version specification, other JSRs were not final at the time JSR 168 went to public review (e.g. J2EE 1.4 and JSR 188), or because additional research was needed before determining the correct approach. Major new features of version 2.0 include:

  • Events -- enabling portlet to send and receive events and perform state changes or send further events as result of processing an event.
  • Shared session attributes -- allowing portlets to share session attributes beyond the current web application.
  • Shared render parameters -- allowing portlets to share render parameters with other portlets.
  • Resource serving -- provides ability for a portlet to serve a resource.
  • Portlet filter -- allowing on the fly transformations of information in both the request to and the response from a portlet

Dave Brondsema gives a more complete review of features on his blog. Other comments from the blogsphere also look positive:

Since version 1.0 a lot has happen in portal space. The spec has been put through the real life tests and quite few "gaps" were identified that needed immediate attention. Probably the single biggest complaint was lack of inter portlet communication (the spec only provided portlet session for that purpose). Naturally Portal vendors filled up those gaps by providing vendor specific solutions but then it led to the situation that portlets which use those solutions are again non portable...

Rate this Article