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: Goltiramar Makora
Country: Saint Kitts and Nevis
Language: English (Spanish)
Genre: History
Published (Last): 20 December 2005
Pages: 386
PDF File Size: 10.51 Mb
ePub File Size: 13.66 Mb
ISBN: 462-9-27767-246-5
Downloads: 95705
Price: Free* [*Free Regsitration Required]
Uploader: Vudobei

Please help improve this article by adding citations to reliable sources. Each portlet phase executes different operations: The portlet takes up an entire page. After installation, the portlet is ready for use and does not require the server to be restarted. The graphic illustrates where WebSphere Portal Express and portlet applications fit into the classloading hierarchy. Omit this tag if the portlet does not use this feature.

When this phase runs on one portlet, it also runs on all other portlets on the page. A Java portlet resembles a Java Servletbut produces fragments rather than complete documents, and is not bound by a URL. Page layout tags let you create layouts using Bootstrap 3 within your portlets. The portlet information directory porrlet not part of the public document tree of the application.

Java Portlet Specification – Wikipedia

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. Application class loaders AC1application class loaders AC2and application class loaders AC3 are portlet applications that branch from application extensions. Portlet filters are similar to servlet filters in that they allow request and response modification on the fly.

  AL FILO DE LA MEDIANOCHE SHANNON MCKENNA DESCARGAR PDF

Liferay Portal does, however, provide utility methods that can access the ServletRequest and query parameters. Java enterprise platform Java specification requests Web portals. Before you package your portlet, the class files and resources must be arranged in the WAR file directory structure described here.

Java Portlet Specification

Retrieved from ” https: It was released in June Web apps in Liferay Portal are called portlets. Like many web apps, portlets process requests and generate responses. For example, a portlet application might use a portlet descriptor as follows: Hello World provides the fewest methods required for a portlet.

The WAR file format contains the Java classes and resources that make up one or more portlets in a portlet application. Portlets are pluggable user interface software components that are managed and displayed in a web portalfor example an enterprise portal or a web CMS. Portlets also have a portlet filter available for each phase in the portlet lifecycle.

Creating a simple portlet

In the response, the portlet returns content e. It also provides persistent storage mechanisms for the portlet preferences. Compile your Java source files. For example, the Edit mode of a weather portlet could let you choose a location to retrieve weather data from. See Sample portlets for more information. Rational Application Developer provides wizards to help you build, test, and deploy portlets using all of the APIs tutorual related classes and interfaces available in the portlet run time environment.

Articles needing additional references from January All articles needing additional references. Some examples of portlet applications are e-mailweather reportsdiscussion forumsand news.

Hence a portlet or collection of portlets resembles a web-based application that is hosted in a portal. Most modern applications use View Mode only.

The following shows the minimum elements required for the standard portlet deployment descriptor. The Hello World portlet provides an introduction to writing your first portlet.

  CB6 BABIN PDF

Runtime extensions RE branches from runtime classpath, and application extensions AEX branch from runtime extensions. Liferay is an open platform in an ecosystem of open porylet. For example, a message boards or wiki portlet is best suited on its own page. This makes portlets much more flexible than servlets. A portlet container runs portlets and provides them with the required runtime environment.

A good user experience is the measure of a well-designed site. WebSphere Portal Express includes an administrative portlet for installing, uninstalling, and updating portlets. You can place multiple portlets on a single page. This section shows you how portelt develop portlets using the following frameworks and techniques: When constructing XMLAccess scripts for use in installing standard portlets, use the following values: In many ways, writing your application as a portlet is easier than writing a standalone application.

For tutrial, you can develop your portlet with strictly standards-compliant frameworks and APIs, package it in a WAR file, and then deploy it on any standards-compliant portal container.

JSR Portlet- Hello World | Portal HUB

That is, the WAR file name can be changed, but the uid must indicate the original uid used during portlet installation. If you are familiar with the web.

For a detailed description of these features, see the tutorial OSGi and Modularity. Portlets also differ from servlets by having distinct modes and window states.

By using this site, you agree to the Terms of Use and Privacy Policy. JSR is the Java Portlet specification v3.