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.

Author: Gojin Faejora
Country: Turks & Caicos Islands
Language: English (Spanish)
Genre: Politics
Published (Last): 7 September 2009
Pages: 282
PDF File Size: 20.78 Mb
ePub File Size: 5.3 Mb
ISBN: 664-2-21907-703-6
Downloads: 99718
Price: Free* [*Free Regsitration Required]
Uploader: Meztisida

Display JSP and Class. 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.

This means that the portlets cannot use the session jzr servlets in the same WAR distribution. A Java portlet resembles a Java Servletbut produces fragments rather than complete documents, and is not bound by a URL. Note that this title may be overridden by the portal or programmatically by the portlet.

Configuring JSR portlets

By abstracting the repository-specific code, we are able portoets keep the display and portlet classes unchanged, regardless of the source of the documents. Simple to install and configure. Typically, the portlet class is more complex as most portlets have multiple views view, edit, help, and so on and also have to handle user usr. In some portals, like eXo, the portlets are even responsible for the portal navigation.

Some portals require user authentication or at least have a built-in mechanism for logging in users. The document’s ID could then be relative to one or both of these values depending on how identifiers are managed in the source.

Retrieved from ” https: Remote cache is only applicable to Websphere Portal. Several portals, such as eXo, Vignette, and IBM, support a custom “config” sjr mode to accomplish this very thing.


While a portal may also provide user management and authentication, personalization, and other functionality across portlets, the role we focus on is the portlet container. Keywords Keywords that describe the functionality of the portlet. For example, to map the security role reference FOO to the security role with role-name managerspecify FOO in the Role name field and manager in the Role link field.

Portlets would be grouped in a Portal Application by bundling them in a single WAR with a Portlet deployment descriptor file.

JSR 168 IBM extension for cooperative portlets

This is not just a good idea out of consideration for the other portlets on the page, but it can greatly ease debugging efforts. Enterprise Content Management ECMsometimes referred to as “Enterprise Document Management,” is a type of application that administers the storage, organization, classification, and retrieval of company data. Used in the xml: Any portals using the older versions of Tomcat, including Pluto the reference implementationhave problems using the application session across web contexts.

The key functional requirements were to:.

Because the notion of a “document” is dependent on the data source, we encapsulate this in the ContentDocument class Listing Four. The JSR portlet specification defines a set of APIs to address portlet aggregation, personalization, presentation, and security.

This way, there might be SharePointSourceJdbcSourceand jsd like, and the administrator can change the source without any recompiling. Identification Request Contributions Section 1.

Types of portlet solution vertical domains and technology like collaboration, jxr networking, community, content management, utility, calendaring, HRM all are available in these catalogs. Limit additional libraries that must be shipped with the application.

In addition to lack of support, there are also serious bugs with some of the portal and application servers. Sjr administrative name used to identify the portlet. In this case, we extend the javax. Another enhancement would be to provide a caching mechanism at the portal level. Portlets are web components -like Servlets- specifically designed to be aggregated in the context of a composite page. However, this could be enhanced to use a class loader to instantiate the implementing class based on a property file setting.


What is JSR portlet specification and its advantages? | Web Portal Club

A portlet container runs portlets and provides them with the required runtime environment. For our purposes, the requirements were:.

The repository and location properties are used in conjunction to identify where the content is located. Portlets are the meat within the portal. This is why we catch Throwable instead of Exception.

This caching mechanism is per-portlet, per-user client. It is understood that the subject of this JSR is already being addressed by Open Source projects and products from different vendors. However, it does not address aggregation, security and personalization.

This security role must be defined in the Web deployment portlrts. The PublishedFolder class implements the interface that the portal uses to communicate with the portlet, and controls the activation of the JSP file. Title The title that should be displayed in the title bar of this portlet. Portals that allow users to search for portlets based on keywords may use these keywords.

It also is the last line in terms of error handling before the exception or error propagates up to the portal level. Multiple keywords per locale are allowed, but must be separated by a comma.

Description A descriptive text about this security role.