What is the difference between JSR 168 and JSR 286?

Published by Charlie Davidson on

What is the difference between JSR 168 and JSR 286?

Now all the major vendors support JSR 286 on their Portal server. Also known as Portlet 2.0, JSR 286 builds upon the first portlet standard, JSR 168, so it has all the features of the first standard plus more: Event handling. Shared parameters.

What is JSR 286?

JSR 286 (Portlet 2.0) defines a lifecycle for events, so that eventing is possible between portlets that are in different web applications. An event is a lifecycle operation that occurs before the rendering phase. Events can be described as a loosely coupled, brokered means of communication between portlets.

How does portlet work?

A portlet is a reusable web component that can draw content from many different sources. Portlets can contain anything from static HTML content to Java controls to complex web services and process-heavy applications. Portlets provide a means of presenting data from multiple sources in a meaningful and related way.

What is difference between servlet and portlet?

Servlets can render complete web pages, whereas portlets renders html fragments. These fragments are aggregated by the portal into a complete web page. A Portlet unlike a servlet doesn’t have URL attached to it so it cannot be accessed directly. Access is only through the portal page which holds the portlet.

What is a portlet Liferay?

Web apps in Liferay DXP are called portlets. Like many web apps, portlets process requests and generate responses. In the response, the portlet returns content (e.g. HTML, XHTML) for display in browsers. Another difference is that portlets run only in a portal server, like the one in Liferay DXP.

Why is Liferay?

Solution: Liferay has a unique advantage as it allows for easy integration with all modern and legacy technologies like . NET, Java, PHP, C+, etc. Moreover, its dynamic structure allows it to merge, collate and integrate databases and features of existing systems easily on its digital experience platform. 6.

Categories: Contributing