JSR 268 PORTLET TUTORIAL PDF

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 .

Author: Kigataur Grogis
Country: South Sudan
Language: English (Spanish)
Genre: Photos
Published (Last): 15 May 2017
Pages: 306
PDF File Size: 19.53 Mb
ePub File Size: 10.51 Mb
ISBN: 676-9-16053-806-8
Downloads: 23953
Price: Free* [*Free Regsitration Required]
Uploader: Vok

Portlet window states control the amount of space a portlet takes up on a page. Liferay is an open platform in an ecosystem of open platforms. Here Portlets catalog are of use. The Java Portlet Specification defines a contract between the portlet container and portlets and provides a convenient programming model for Java portlet developers.

Therefore, the portal server copies was.

For portlet updates, the WAR file name must be the original name of the WAR file used to install the portlet application. A Portlets Catalog is a set of portlets that are ready-to-use components for enterprise portals.

Creating a simple portlet

A good user experience is the measure of a well-designed site. Liferay Portal does, however, provide utility methods that can access tutrial ServletRequest and query parameters.

See Sample portlets for more information. Portlets instead access a javax.

InJava Portlet Specification 2. For example, a page in a community site could have a calendar portlet for community events, an announcements portlet for important announcements, and a bookmarks portlet for links of interest to the community.

  CHRIS METZEN OF BLOOD AND HONOR PDF

Portlets contained in WAR files have the advantage of being dynamically downloaded and installed. Processes events triggered in the Action phase. To deploy a portlet and run it on the server, it must be packaged in the form of a Web application ARchive or WAR file.

Rational Application Developer provides wizards to help you build, test, and deploy portlets using all of the APIs and related classes and interfaces available in the portlet run time environment.

Java Portlet Specification – Wikipedia

You can place multiple portlets on a single page. A portlet is managed by a portlet container.

A particular class loader can reference other classes as long as the other classes can be loaded by the same class loader or any of its ancestors, but not its children. The portlet is provided along with the source in the IBM Portlet Samples package, which is available from the portlet catalog by searching for navcode 1WPZ.

JSR is the Java Portlet specification v2. For deployers, it’s easy to keep a single set of solution and deploy it on many. By potrlet this site, you agree to the Terms of Use and Privacy Policy.

Liferay Portal also contains an OSGi runtime. Do you want to use a portlet development framework with a UI component model that makes it easy to develop sophisticated, rich A portlet application exists as a structured hierarchy of directories. Use this file if you use services from the Public SPI javadoc package.

  HONEYWELL DC1020 PDF

The following shows the minimum elements required for the standard portlet deployment descriptor. I thought Liferay Portal was standards-compliant? The resources can be images, JSP files, Writing the portlet descriptorsand property files containing translated message text.

The portal administrator can download a WAR file from the Internet and then use the portal administration interface to install the portlet to WebSphere Portal Express. Portlets also have a portlet filter available for each phase in the portlet lifecycle. January Learn how and when to remove this template message.

Each portlet phase executes different operations:. Once the portlet processes all events, the portal calls the Render phase on all portlets on the page. The last thing you want is for someone to grow frustrated with your site because of constant page For example, a message boards or wiki portlet is best suited on its own page. A JSR portlets catalog makes sure that portlets under this catalog may run on any standards—compliant Java portal server.

For example, the Edit mode of a weather portlet could let you choose a location to retrieve weather data from. Typically, following the desktop metaphora portal page is displayed as a collection of non-overlapping portlet windows, where each portlet window displays a portlet.