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: Shaktiran Samukinos
Country: Laos
Language: English (Spanish)
Genre: Photos
Published (Last): 17 April 2010
Pages: 397
PDF File Size: 8.2 Mb
ePub File Size: 9.65 Mb
ISBN: 352-6-41403-693-6
Downloads: 5755
Price: Free* [*Free Regsitration Required]
Uploader: Gardasida

Portlets contained in WAR files have the advantage of being dynamically downloaded and installed. Compared to servlets, portlets also have some other key differences. Java enterprise platform Java specification requests Web portals.

Types of portlet solution vertical domains and technology like collaboration, social networking, community, content management, utility, calendaring, HRM all are available in these catalogs.

Runtime classpath RP branches from runtime classpath patches. This page was last edited on 21 Novemberat Typically, following the desktop metaphora portal page is displayed as a collection of non-overlapping portlet windows, where each portlet window displays a portlet.

A portlet application exists as a structured hierarchy of directories. Window states mimic window behavior in a traditional desktop environment:. You can set up the run time environment for debugging portlets on the local development machine or on a remote server.

A Java portlet resembles a Java Servletbut produces fragments rather than complete documents, and is not bound by a URL.

Serves a resource independent from the rest of the lifecycle. If you are not using wizards to develop portlets, the following topics describe the mechanics of building a simple portlet. This makes portlets jer more flexible than servlets. We will tell you, however, how portlets differ from other types of servlet-based web apps.

  AWAN CAST HISTORY IN URDU PDF

January Learn how and when to remove this template message.

Once the portlet processes all events, the portal calls the Render phase on all portlets on the tugorial. A portlet responds to requests from a web client with and generates dynamic content.

Creating a simple portlet

Liferay Portal does, however, provide utility methods that can access the ServletRequest and query parameters. There are number of differences between the elements in this example and the corresponding Figure 8. Use this file if you use services from the Public SPI javadoc package. When constructing XMLAccess scripts for use in installing standard portlets, use the following values: Do you wish you could use npm and npm packages in your portlets?

Retrieved from ” https: A JSR portlets catalog makes sure that portlets under this catalog may run on any standards—compliant Java portal tutoriql.

Creating a simple portlet

Window states mimic window behavior in a traditional desktop environment: One key difference is that portlets run in a portion of the web page. 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.

Portlets also differ from servlets by having distinct modes and window states. The following shows the minimum portler required for the standard portlet deployment descriptor. Portlet window states control the amount of space a portlet takes up on a page.

  EP9302 MAVERICK PDF

For portlet updates, the WAR file name must be the original name of the WAR file used to install the portlet application.

We recommend the latter, so you can take advantage of the modularity features inherent in OSGi. The Java Portlet Specification V1.

Portlets handle requests in multiple phases. See Sample portlets for more information. Liferay leads in this space by having a member in the Expert Group. A portlet container contains portlets and manages their life cycles. The Action phase can also trigger events that are processed by the Event phase. tutoriall

The resources can be images, JSP files, Writing the portlet descriptorsand property files containing translated message text. The WAR file format contains the Java classes and resources that make up one or more portlets in a portlet application.

JSR Portlet- Hello World | Portal HUB

This lets a portlet serve dynamic content without running the Render phase on all portlets on a page. The portlet takes up an entire page.

A Portlets Catalog is a set of portlets that are ready-to-use components for enterprise portals. Before you begin developing portlets, set up an environment that makes the tasks of writing, compiling, and testing portlets easier.

Last modified: January 3, 2020