What is portlet container?

What is portlet container?

The portlet container is the runtime environment for portlets using the JSR 286 Portlet specification, in which portlets are instantiated, used, and finally destroyed. The JSR 286 Portlet application programming interface (API) provides standard interfaces for portlets and backwards compatibility for JSR 168 portlets.

What is a portlet in programming?

Portlets are pluggable user interface software components that are managed and displayed in a web portal, for example an enterprise portal or a web CMS. Portlets produce fragments of markup (HTML, XHTML, WML) that are aggregated into a portal.

What is the life cycle of a portlet?

This portlet life cycle method has important role in implementing event based inter portlet communication (IPC). As soon as process event method is completed the portlet container invokes render method. Called by the portlet container to allow the portlet to generate the resource content based on its current state.

What is jsr286?

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.

What is MVC portlet in Liferay?

MVC Portlet applications are web modules containing at least one portlet class that’s registered in Liferay’s runtime environment as a component. Here are the general steps for implementing a Liferay MVC Portlet component module: Configuring a Web module. Specifying OSGi metadata. Creating a portlet Component.

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.

When did the Java Portlet Specification 1.0 come out?

The Java Portlet Specification 1.0, Java Specification Request (JSR) 168, was released in October 2003. This brought a world of difference. By adhering to the standards, you can build portlets that can run in portals, irrespective of their vendors.

What do you need to know about portlets in Java?

Unsourced material may be challenged and removed. The Java Portlet Specification defines a contract between the portlet container and portlets and provides a convenient programming model for Java portlet developers.

Which is an example of a portlet standard?

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. An example is the Java Portlet Specification.

When does an event occur in Portlet 2.0?

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.

Back To Top