Java Portlet Specification
The Java Portlet Specification defines a contract between the portlet container and portlets and provides a convenient programming model for Java portlet developers.
JSR 168
The Java Portlet Specification V1.0 was developed under the Java Community Process as Java Specification Request JSR 168.
The Java Portlet Specification V1.0 introduces the basic portlet programming model with:
- two phases of action processing and rendering in order to support the Model-View-Controller pattern.
- portlet modes, enabling the portal to advise the portlet what task it should perform and what content it should generate
- window states, indicating the amount of portal page space that will be assigned to the content generated by the portlet
- portlet data model, allowing the portlet to store view information in the render parameters, session related information in the portlet session and per user persistent data in the portlet preferences
- a packaging format in order to group different portlets and other Java EE artifacts needed by these portlets into one portlet application which can be deployed on the portal server.
- Portal development is a way to integrate the different web-based applications for supporting deliveries of information and services.
JSR 286
JSR-286 is the Java Portlet specification v2.0 as developed under the JCP and created in alignment with the updated version 2.0 of WSRP.[1] It was developed to improve on the short-comings on version 1.0 of the specification, JSR-168. Some of its major features include:[2]
- Inter-Portlet Communication through events and public render parameters
- Serving dynamically generated resources directly through portlets
- Serving AJAX or JSON data directly through portlets
- Introduction of portlet filters and listeners
Portal servers
See Enterprise Portal Vendors.
See also
References
- ^ "JSR 286: Portlet Specification 2.0". http://www.jcp.org/en/jsr/detail?id=286.
- ^ Hepper, Stefan (18 March 2008). "What's new in the Java Portlet Specification V2.0 (JSR 286)?". IBM. http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html.
External links