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 .
|Published (Last):||5 September 2011|
|PDF File Size:||19.97 Mb|
|ePub File Size:||10.61 Mb|
|Price:||Free* [*Free Regsitration Required]|
Liferay is an open platform in an ecosystem of open platforms. Page layout tags let you create layouts using Bootstrap 3 within your portlets.
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.
A particular class loader can reference other classes as long as the other tutoeial can be loaded by the same class loader or any of its ancestors, but not its children.
Typically, following the desktop metaphora portal page is displayed as a collection of tuorial portlet windows, where each portlet window displays a portlet. InJava Portlet Specification 1. Before you package your portlet, the class files and resources must be arranged in the WAR file directory structure tutrial here.
JSR Portlet- Hello World | Portal HUB
If you are familiar with the web. One was full podtlet himself, and always wanted to show everyone users and SEO services alike just how smart he was, by openly displaying In short, portlets alleviate many of the traditional pain points associated with developing web apps. Packaging portlet classes, resources, and descriptive information in a single file makes distribution and deployment of portlets easier. This gives you access to all the MVC Portlet functionality you are familiar with, plus the added bonus of using Soy templates for Some of its tutofial features include: An example is the Java Portlet Specification.
That is, the WAR file name can be changed, but the uid must indicate the original uid used during portlet installation. Articles needing additional references from January All articles needing additional tutlrial.
Once the portlet processes all events, the portal calls the Render phase on all portlets on the page.
This is the default window state. Application class loaders AC1application class loaders AC2and application class loaders AC3 are portlet applications that branch from application extensions.
Portlets – Liferay – Liferay Developer Network
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. For example, a portlet application might use a portlet descriptor as follows: It also provides persistent storage mechanisms for the portlet preferences. The WAR file format contains the Java classes and resources that make up one or more portlett in a portlet application. Use this file if you use services from the Public API javadoc package.
For deployers, it’s easy to keep a single set of solution and deploy it on many. Portlet filters are similar to servlet filters in that they allow request and response modification on the fly. Refer to the documentation for Rational Application Developer for complete setup instructions. Each portlet phase executes different operations: It was released in June A Java portlet resembles a Java Servletbut produces fragments rather than complete documents, and is not bound by a URL.
A portal and a portlet container can be built together as a single component of an application suite or as two separate components of a portal application.
Runtime extensions RE branches from runtime classpath, and application extensions AEX branch from runtime extensions.
Creating a simple portlet
Serves a resource independent from the rest of the lifecycle. Gutorial portlet can be on a page that contains other portlets. So what do these specifications define? 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. Most modern applications use View Mode only.
A portlet is managed by a tutoriial container. A portlet container runs portlets and provides them with the required runtime environment. JSR is the Java Portlet specification v2.