O'Reilly logo

Liferay 6.2 User Interface Development by Jonas X. Yuan, Xinsheng Chen

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

Understanding a simple JSR-286 portlet

The title of this JSR is Portlet Specification 2.0. So, JSR-286 is also called Portlet 2.0. JSR-286 is an upgraded version of JSR-168 (that is, Portlet Specification 1.0). In JSR-286, the portlet event is added for IPC, and the serveResource(...) method is added for Asynchronous JavaScript and XML (Ajax) calls. The final release of JSR-286 was published through Java Community Process (JCP) on June 12, 2008. JCP is a workflow where interested parties propose, develop, and finalize the standard technical specifications for Java technologies.

In this section, we will develop a garlic portlet and a ginger portlet. We will use these two portlets to demonstrate the implementation of the portlet event and Ajax calls. ...

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