JSR 168 PORTLETS PDF
To enable interoperability between Portlets and Portals, this specification will define a set of APIs for Updates to the Original Java Specification Request ( JSR). The Java platform provides an standard referred to as JSR that standarizes how portlets interact with portlet containers and ensures compatibility across. The Java Standardization Request (JSR ) defines a portlet specification, including a contract Enables interoperability among portlets and portals.
|Published (Last):||10 November 2013|
|PDF File Size:||17.10 Mb|
|ePub File Size:||1.94 Mb|
|Price:||Free* [*Free Regsitration Required]|
A portlet container contains portlets and portkets their life cycles. The document’s ID could then be relative to one or both of these values depending on how identifiers are managed in the source.
2. Java Portlet Specification (JSR)
Specify the following portlet information for each supported locale. The PublishedFolder class implements the interface that the portal uses to communicate with the portlet, and controls the activation of the JSP file.
For details on deployment descriptors and other information, see “Introduction to JSR If this specification, or a future version of this specification, is included in a future version of a Java platform specification, this specification will remain available for use outside the platform specification, and will continue to be evolved outside the platform specification, unless both specification leads agree otherwise.
Views Read Edit View hsr. It is only shown in GUI tools. Select the Browse button to open the Select Portlet dialog and create a new mapping in the deployment descriptor. Values Initial default values of the preference.
The ability to run on a variety of portal applications. A descriptive text about the portlet.
With the introduction of the JSR specification, open-source portals are starting to take large bites out of the portal market. In some portals, like eXo, the portlets are even responsible for the portal navigation. Portlet class Property Name Description Portlet class The canonical name of the portlet selected in the Portlets list box.
The JSR portlet specification defines a set of APIs to address portlet aggregation, personalization, presentation, and security. Table 1 presents the results of an informal poll of portal popularity that was conducted by Punit Pandey http: If you were lucky and planned for this potential scenario in the beginning, you might have been able to limit your changes to the JSP and minimize the changes to the supporting classes. In addition, APIs for vendor extensions, APIs for security, user customization and layout management will be considered.
Portals that allow users to search for portlets based on port,ets may use these keywords. For a JDBC or filesystem source, they could identify the database and table or server and folder. Select a supported locale above and specify the portlet information for the selected locale. A portal and a portlet container can be built together as a single component jsrr an application suite or as two separate components of a portal application.
The abstract ContentSource class Listing Three is the start of the content-retrieval process. A portlet can aggregate integrate and personalize content from different sources within a web page.
Then click on the section that contains the values you want to edit. The repository and location properties are used portlete conjunction to identify where the content is located. However, it does not address aggregation, security and personalization.
APIs and descriptors to support internationalization and localization are a fundamental design goal of this JSR. Portlets are the meat within the portal. We ultimately decided to avoid the user authorization problem entirely by just storing our configuration settings in a properties file. This means that the portlets cannot use the session as servlets in the same WAR distribution.
Configuring JSR 168 portlets
The locale information used in the xml: The Portlet Specification defines an expiration based caching mechanism. Hence a portlet or collection of portlets resembles a web-based application that is hosted portletts a portal.
Specify elements in a preference.
This specification will establish a standard API for creating Portlets, thus avoiding locking in Portal developers in a specific implementation and allowing Portlets developers to reach a wider audience while reducing their development efforts. Declare locales the portlet supports at run time. To be determined by the expert group, initial target is December For a description of the Portlet technology, refer to section 2. The Portlet specification will define the different components for Portal Computing, their interaction, lifecycle and semantics.
Retrieved from 16 https: An example is the Java Portlet Specification.
Java Portlet Specification – Wikipedia
We implemented this as an ArrayList instead of a Map because we wanted to be able to use the order in which the attributes are added as the order that they are rendered in the display.
However, because this portlet is so simple, it was much easier to extend the generic version and override the doView method. There are no limits to the complexity of a portlet.
The Portlet Deployment Descriptor jr opens. With the increased adoption of Java portals, both as intranets and public sites, comes the need to separate portlet functionality from the portal to both maximize code reuse and limit your dependency on specific vendors.