Jump to content

Java Portlet Specification: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Slsh (talk | contribs)
No edit summary
Rescuing 1 sources and tagging 0 as dead. #IABot (v1.6.1)
Line 40: Line 40:
* [http://www.jcp.org/en/jsr/detail?id=286 JSR 286] (version 2.0 of the Java portlet specification)
* [http://www.jcp.org/en/jsr/detail?id=286 JSR 286] (version 2.0 of the Java portlet specification)
* [http://portals.apache.org/pluto/ JSR 168 Open Source Reference Implementation at Apache]
* [http://portals.apache.org/pluto/ JSR 168 Open Source Reference Implementation at Apache]
* [http://community.java.net/portlet/ Open source JSR 168/WSRP community] at http://java.net
* [http://community.java.net/portlet/ Open source JSR 168/WSRP community] at https://web.archive.org/web/20100613131851/http://www.java.net/
* [http://research.nesc.ac.uk/rapid/ Rapid Portlet Generator] for generating JSR 168-compliant portlets
* [http://research.nesc.ac.uk/rapid/ Rapid Portlet Generator] for generating JSR 168-compliant portlets
* [http://soap-portlet.sourceforge.net/ Dynamic SOAP Portlet], for dynamic integration of [[SOAP]] services in JSR-168 portals
* [http://soap-portlet.sourceforge.net/ Dynamic SOAP Portlet], for dynamic integration of [[SOAP]] services in JSR-168 portals

Revision as of 23:15, 22 November 2017

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, and released in its final form in October 2003.[1]

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 as 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. It was released in June 2008.[2] It was developed to improve on the short-comings on version 1.0 of the specification, JSR-168. Some of its major features include:[3]

  • 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

JSR 362

JSR-362 is the Java Portlet specification v3.0. Currently it is in early draft status. [4]

See also

References

  1. ^ "JSR 168". JCP.
  2. ^ "JSR 286: Portlet Specification 2.0".
  3. ^ Hepper, Stefan (18 March 2008). "What's new in the Java Portlet Specification V2.0 (JSR 286)?". IBM.
  4. ^ "JSR 362: Portlet Specification 3.0".