New features of the JSR 286 portlet, part 1th: Introduction to new features of Portlet 2.0

Source: Internet
Author: User
Tags final relative resource

About this series

This series of articles is intended for developers who have a JSR portlet development base and want to learn about the new features and development processes of the JSR 286 portlet. After learning this series, you will learn what enhancements are available relative to the JSR PORTLET,JSR 286 Portlet, and how these new features are applied in real-world development.

Part 1th will briefly review the JSR-a portlet and list what's new in the JSR 286 portlet.

Parts 2nd and 3rd will provide readers with a way to use the new features of the JSR 286 portlet by developing and deploying Portlet applications on the Apache Pluto 2.0 platform.

About this series

This series of articles is intended for developers who have a JSR portlet development base and want to learn about the new features and development processes of the JSR 286 portlet. After learning this series, you will learn what enhancements are available relative to the JSR PORTLET,JSR 286 Portlet, and how these new features are applied in real-world development.

Part 1th will briefly review the JSR-a portlet and list what's new in the JSR 286 portlet.

Parts 2nd and 3rd will provide readers with a way to use the new features of the JSR 286 portlet by developing and deploying Portlet applications on the Apache Pluto 2.0 platform.

About this article

This article assumes that the reader is familiar with the JSR Portlet and has a certain understanding of the basic knowledge of Java EE. This article mainly introduces the following new features of the JSR 286 Portlet to the reader in a theoretical way:

Resource Services

Event

Share Render Parameters

Portlet Filters

Portlet window

Portlets and JSR 168

A portlet is a WEB component that is deployed within a container to generate dynamic content, similar to a servlet, where the entire lifecycle of a portlet from Init to destroy is performed in the Portlet container. The Java portlet specification provides detailed provisions on Portlet APIs, standardized user data, parameter settings, portlet requests, and response, deployment, packaging, and security to implement Portlets and Portlets and PO Rtlet the interaction and collaboration between containers. Java Portlet Specification 1.0, Java Specification Request (JSR) 168, was released in October 2003.

JSR 286 and its new features

JSR 168 is now widely supported in the industry, and it is supported by open source. The first version of the standards and products is flawed, supporting only the most basic use cases, with some limitations on functionality. This is also the case with Java portlet Specification V1.0, so that after three years, most portal products that support the Java Portlet Specification V1.0 provide some additional extensions to support more advanced use cases. These additional extensions cause the standards of each portal product to be not uniform, and interaction between them becomes an unavoidable problem. To better standardize portlet development to suit industry development and provide a standard solution adapted to the highest level use cases to provide interoperability for these advanced features, Java portlet specification V2.0 (called JSR 28) was started in November 2005. 6) Development, the Java Portlet specification V2.0 has now entered the final draft pending approval phase and is scheduled to be released in March 2008. The JSR 286 Final draft is compatible with JSR 168, and perfects some of the JSR 168 features, as well as new features not available in JSR 168, such as resource services, events, Portlet filters, shared rendering parameters, and portlet windows. Like V1.0, V2.0 will also be based on Java EE 1.4, allowing portlets to use the Java EE 1.4 enhancements (such as JSP 2.0). The following are some of the main features and features of the new specification:

Resource services: A new way of rendering resources through portlets.

Events: Enables communication between portlets by sending events and receiving events.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.