In this three-part series, the articles describe new features available in the Java Portlet Specification (JSR ) and extensions supported by OpenPortal. The Java platform provides an standard referred to as JSR that standarizes how portlets interact with portlet containers and ensures compatibility across. In , Java Portlet Specification (JSR) first defined portal and For a detailed description of these features, see the tutorial OSGi and Modularity. Note .
|Published (Last):||25 December 2014|
|PDF File Size:||2.79 Mb|
|ePub File Size:||12.2 Mb|
|Price:||Free* [*Free Regsitration Required]|
In the response, the portlet returns content e. The recently released Java Portlet Specification 3. Events are used for IPC. Typically, following the desktop metaphora portal page is displayed as a collection of non-overlapping portlet windows, where each portlet window displays a portlet.
Runtime extensions RE branches from runtime classpath, and application extensions AEX branch from runtime extensions.
Java Portlet Specification – Wikipedia
Serves a resource independent from the rest of the lifecycle. On a portal server running on Windows, installing a WAR file with a name that is more than 25 characters will result in an error.
This lets a portlet serve dynamic content without running the Render phase on all portlets tutoorial a page. That is, the WAR file name can be changed, but the uid must indicate the original uid used during portlet installation. Refer to the documentation for Rational Application Developer for complete setup instructions.
Creating a simple portlet
If this value has not been specified, specify the WAR file name of the portlet application in its place. Portlets can be placed on pages by users or portal administrators, who can place several different portlets on a single page.
Initially Java portal vendors had their own portlet development framework thus those pprtlet were confined to specific portal servers and couldn’t be deployed to the rest of the Java portals. The Java Portlet Specification V1. Even so, the advantages of modularity are so great that we still recommend you develop portleg portlets as OSGi modules.
The last thing you want is for someone to grow frustrated with your site because of constant page Each portlet phase executes different operations:. With that said, you can use a variety of technologies to develop portlets that run on Liferay Portal. The Hello World portlet provides an introduction to writing your first portlet. For example, a portlet application might use a portlet descriptor as follows: For portlet updates, the Jwr file name must be the original name portpet the WAR file used to install the portlet application.
From Wikipedia, the free encyclopedia. January Learn how and when to remove this template message.
To do this, proceed as follows: Portlets also differ from servlets by having distinct modes and window states. Because Windows limits the maximum path length to characters, the name of the WAR file must be less than 25 characters.
A portlet can aggregate integrate and personalize content from different sources within a web page. Use this file if you use services from the Public API javadoc package. GenericPortlet which also can throw a PortletException. The XML configuration interface allows the portlet developer to specify places, pages, themes, skins, supported markups and clients, and other settings for a portlet application.
This article needs additional citations for verification. When constructing XMLAccess scripts for use in installing standard portlets, use the following values: If an installed portlet application includes a class loader, the portlet application class loader is an application class loader ACx under WebSphere Portal Express.
This is especially useful for portlets that use portlwt because these portlets have to be placed on the same page. Runtime classpath RP branches from runtime classpath patches. Each portlet phase executes different operations: For those who want to adopt portals certainly need many and variety of portlets to deploy and run.
JSR Portlet- Hello World | Portal HUB
This tutorial explains the tags that developers can use to create layouts. It also provides persistent storage jssr for the portlet preferences. For example, a message boards or wiki portlet is best suited on its own page.
This page was last edited on 21 Novemberat