What is the difference between JSR 168 and JSR 286?

What is the difference between JSR 168 and JSR 286?

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 portlet environment in Java?

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. A portlet can aggregate (integrate) and personalize content from different sources within a web page. An example is the Java Portlet Specification.

What are portlet applications?

Java Portlet 1.0 defines a portlet application as a Web application that consists at a minimum of one or more portlets, the Web application deployment descriptor (web. xml), and a portlet deployment descriptor (portlet.

Are portlets part of Java EE?

Java Platform Enterprise Edition (Java EE) is an umbrella standard for Java’s enterprise computing facilities. These include Enterprise JavaBeans (EJB), servlets, portlets, Java Server Pages (JSP), Java Server Faces (JSF) and several Web service technologies.

What is portlet and servlet?

Servlets can render complete web pages, whereas portlets renders html fragments. These fragments are aggregated by the portal into a complete web page. The content type of JSR 168 portlets can be only cHTML, XHTML, WML. It does not support other content types.

What is a portlet website?

A portlet is a Web-based component that will process requests and generate dynamic content. The end-user would essentially see a portlet as being a specialized content area within a Web page that occupies a small window in the portal page.

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 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. Web modules describe themselves using standard OSGi metadata and can use any build environment.

What is a MVC portlet?

Web applications are often developed following the Model View Controller (MVC) pattern. It’s lightweight, as opposed to many other Java MVC frameworks. There are no special configuration files that need to be kept in sync with your code. It’s a simple extension of GenericPortlet .

You Might Also Like