O'Reilly logo

Liferay Portal 5.2 Systems Development by Jonas Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using JSR-286 portlets

Liferay portal is designed to deploy portlets that adhere to the Portlet API (JSR-286). Many useful portlets are bundled with the portal, for example, Image Gallery, Document Library, Journal, Calendar, Message Boards, Manage Pages, Communities, and so on. Before customizing these portlets in sync with the Liferay portal, we are going to work with the JSR-286 portlets.

Understanding portlet life cycle

As mentioned earlier, a portlet is managed through a life cycle that defines how it is loaded, instantiated, and initialized, how it handles requests from clients, and how it is taken out of service. The life cycle of a portlet is expressed through the init, processAction, render, and destroy methods of the Portlet interface, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required