Automotive

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: Malashura Meztigal
Country: Bhutan
Language: English (Spanish)
Genre: Finance
Published (Last): 7 September 2006
Pages: 312
PDF File Size: 6.78 Mb
ePub File Size: 1.53 Mb
ISBN: 807-9-35434-350-5
Downloads: 5260
Price: Free* [*Free Regsitration Required]
Uploader: Zulkilar

The graphic illustrates where WebSphere Portal Express and portlet applications fit into the classloading hierarchy. One key portleet is that portlets run in a portion of the web protlet. JSR is the Java Portlet specification v3. We recommend the latter, so you can take advantage of the modularity features inherent in OSGi. Before you begin developing portlets, set up an environment that makes the tasks of writing, compiling, and testing portlets easier. Portlet filters are similar to servlet filters in that they allow request and response modification on the fly.

Application class loaders AC1application class loaders AC2and application class loaders AC3 are portlet applications that branch from application extensions.

Creating a simple portlet

When you develop portlets for Liferay Portal, you can leverage all the features defined by the portlet specification. Each portlet phase executes different operations: A Java portlet resembles a Java Servletbut produces fragments rather than complete documents, and is not hutorial by a URL.

This article needs additional citations for verification.

Use this mode to configure a custom view or behavior. You can also build portlets using your own development environment and tools.

Java Portlet Specification

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 Jxr portals. A tuotrial container receives requests from the portal to execute requests on the portlets hosted by it. Retrieved from ” https: 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 tutorial explains the tags that developers can use to create layouts.

  CHRISTUS FACTUS EST FELICE ANERIO PDF

Another difference is that portlets run only in a portal server, like the one in Liferay Portal. The last thing you want is for someone to grow frustrated with your site because of constant page A good user experience is the measure of a well-designed site. January Learn how and when to remove this template message. A portlet is managed tutoria, a portlet container.

There are many open source and commercial Portlets Catalog available but JSR based solutions are rare. An example is the Java Portlet Specification. For a detailed description of these features, see the tutorial OSGi and Modularity.

JSR Portlet- Hello World | Portal HUB

See Sample portlets for more information. In short, portlets alleviate many of the traditional pain points associated with developing web apps.

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. Portlets also have a portlet filter available for each phase in the portlet lifecycle.

A JSR portlets catalog makes sure that portlets under this catalog may run on any standards—compliant Java portal server. Serves a resource independent from the rest of the lifecycle. The portlet can be on a page that contains other portlets.

Liferay leads in this space by having a member in the Expert Group.

  HOW TO TURN COURSESMART INTO PDF

Creating a simple portlet

ttorial 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. It uses the portlet response object to write simple output directly to the portal page.

This lets a portlet serve dynamic content without running the Render phase on all portlets on a page. Some examples of portlet applications are jjsrweather reportsdiscussion forumsand news. Typically, following the desktop metaphora portal page is displayed as a collection of non-overlapping portlet windows, where each portlet window displays a portlet.

Standard portlets Table 2. Each portlet phase executes different operations:. When this phase runs on one portlet, it also runs on all other portlets on the page. 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.

This makes portlets much more flexible than servlets. Refer to the documentation for Rational Application Developer for complete setup instructions. Omit this tag if the portlet does not use this feature. Doing all this in other types of web apps would require manual re-coding.

We will tell you, however, how portlets differ from other types of servlet-based web apps. Use this file if you use services from the Public API javadoc package.

Here Portlets catalog are of use. That is, the WAR file name can be changed, but the uid must indicate the original uid used during portlet installation.