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: Grozragore Vogor
Country: Tajikistan
Language: English (Spanish)
Genre: Travel
Published (Last): 16 February 2012
Pages: 358
PDF File Size: 19.28 Mb
ePub File Size: 12.97 Mb
ISBN: 208-6-38139-373-2
Downloads: 94621
Price: Free* [*Free Regsitration Required]
Uploader: Tejas

Creating a simple portlet

InJava Portlet Specification 2. Hello World provides the fewest methods required for a portlet. For those who want to adopt portals certainly need many and variety of portlets to deploy and run. A Portlets Catalog is a set of portlets that are ready-to-use components for enterprise portals. Liferay Portal also contains an OSGi runtime. Articles needing additional references from January All articles needing additional references.

After installation, the portlet is ready for use and does not require the server to be restarted. Even so, the advantages of modularity are so great that we still recommend you develop your portlets as OSGi modules. A portlet container receives requests from the portal to execute requests on the portlets hosted by it. WebSphere Portal Express includes an administrative portlet for installing, uninstalling, and updating portlets. Java enterprise platform Java specification requests Web portals.

When you develop portlets for Liferay Portal, you can leverage all the features defined by the portlet specification. Some of its major features include: Like many web apps, portlets process tuttorial and generate responses. It is perfectly valid to bring ttorial tools It was released in June The recently released Java Portlet Specification 3. From Tuhorial, the free encyclopedia.

  82C55AC 2 NEC PDF

For portlet updates, the WAR file name must be the original name of the WAR file used to install the portlet application. The application server searches for security policy files in the location of the enterprise application archive rather than the Web application archive. Omit this tag if the portlet does not use this feature.

jwr Views Read Edit View history. When constructing XMLAccess scripts for use in installing standard portlets, use the following values: Initially Java portal vendors had their own portlet development framework thus those portlets were confined to specific portal servers and couldn’t be deployed to the rest of the Java portals.

Creating a simple portlet

Another difference is that portlets run only in a portal server, like the one in Liferay Portal. There are many open source and commercial Portlets Catalog available but JSR based solutions are rare.

A portlet container contains portlets and manages their life cycles. 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.

JSR is the Java Portlet specification v3. Runtime classpath RP branches from runtime classpath patches. One key difference is that portlets run in a portion of the web page.

Portlets – Liferay – Liferay Developer Network

The portlet specification only provides a mechanism for a portlet to read its own URL parameters or those declared as public render parameters. The Java Portlet Specification defines a contract between the portlet container and portlets and provides a convenient programming model for Java portlet developers.

  ARTAUD IL TEATRO E IL SUO DOPPIO PDF

Portlet standards platform independent application programming interfaces that are intended to enable software developers to create portlets that can be plugged into any portal supporting the standards. Typically, following the desktop metaphora portal page is displayed as a collection of non-overlapping portlet windows, where each portlet window displays a portlet.

For example, a portlet application might use a portlet descriptor as follows: The portlet takes up an entire page.

View the basic steps for creating a simple portlet, that include writing the portlet code, compiling java source, creating the JAR file, writing the portlet descriptors, setting up the WAR file directory structure, and packaging and deploying portlets. A portlet is managed by a portlet container. Runtime extensions RE branches from runtime classpath, and application extensions AEX branch from runtime extensions.

This section shows you how to develop portlets using the following frameworks and techniques:. Hence a portlet or collection of portlets resembles a web-based application that is hosted in a portal.

Liferay is an open platform in an ecosystem of open platforms.

Portlet filters are similar to servlet filters in that they allow request and response modification on the fly. If you are not using wizards to develop portlets, the following topics describe the mechanics of building a simple portlet.