JSR 286 PORTLET SPECIFICATION PDF
Learn all about the second version of the Java Portlet Specification (JSR ). In Version , the specification and the APIs more than doubled. The Java Portlet Specification addresses the requirements of aggregation, was approved by the Java Community Process in March as JSR This tutorial on JSR development provides an introduction to portlet programming as the reader is taken through the creation of a simple HelloWorld portlet.
|Published (Last):||2 October 2009|
|PDF File Size:||3.62 Mb|
|ePub File Size:||20.47 Mb|
|Price:||Free* [*Free Regsitration Required]|
These porltet portlets may not be written in Java, and spdcification we need a more general mechanism than the Java serialization. Let’s take a deeper look into the new features for extending the Java Portlet Specification in the next sections. The portal administrator or business user has now put these three portlets on a page and created connections between the sending portlet Portlet 1 and the receiving portlets Portlet 2 and Portlet 3.
Render parameters, portlet mode, and window state fall into this category as some portal implementations, such as WebSphere Portal, store this information in the URL to support the ability to bookmark and the use of Back and Forward buttons in the browser.
The other mentioned materials will be taken into account to create a version 2. The Web Services for Remote Portlets specification defines a web service interface for accessing and interacting with interactive presentation-oriented web services.
First, you provide the general event definition, and then you reference this definition in the portlet section with tags that specify that the portlet can either receive or send this event.
A portlet container jse portlets and manages their life cycles. In JSR was added another feature called serving resources with help of this we can serve the images, pdf and other content types to client.
From Wikipedia, the free encyclopedia. In the first version of the Java Portlet Specification, you could not serve dynamically generated resources directly through the portlet.
What’s new in the Java Portlet Specification V2.0 (JSR 286)?
Articles needing additional references from January All articles needing additional references. These hook points, though, come with a cost, especially the request lifecycle listeners, which add significant processing overhead for each request.
Portlets porlet pluggable 2866 interface software components that are managed and displayed in a web portalfor example an enterprise portal or a web CMS. About Me Meera Prince. In JSR they made communication between portlet which are in different pages using other mechanism. The last element in the filter chain is the portlet itself. Event based mechanism way to communicate between portlet which are in same or in other page too.
The portlet can epecification such a mode in the portlet deployment descriptor with the code shown in listing 6.
This practice is common for Ajax applications, which can particularly benefit from the two enhancements that version 2. The QName and alias names are used to connect jrs render parameters of different portlets. JSR specifications offer suitability to the developers to reuse the code to maintain a set of JSR compliant portlets.
Thus, you can dramatically reduce the memory footprint for these portlets, as the code in listing 9 shows. In the second version, you can set cookies, document head section elements for example, HTML ones such as meta, link, or style and HTTP headers such as application-specific Pragma headers.
Note that if you use a container runtime option and the container on which your portlet is deployed does not support this option, the container may poortlet the deployment of the specificztion. Specifying the shared property enables the portal to use only one version of such shared resources per page. In our sample, there is a connection between Portlet 1 and Portlets 2 and 3 for this event.
How do you know which back-end state the currently cached markup maps to? Portlets can therefore be viewed as user interface UI -based services that take the Service-Oriented Architecture SOA approach all the way up to the user interface. Thus, the browser can cache the returned markup of the serveResource call for at least as long as the user interacts with the current page. In JSRthe portlet could leverage only portlet modes that are supported by the portal framework running the portlet.
The Java Community Process(SM) Program – JSRs: Java Specification Requests – detail JSR#
Portlet Specifciation and Listeners. Generally Portal specification is different and we will use portlet container to manage portlets and its lifecycle.
A Portlets Catalog is a set of portlets that are ready-to-use components for enterprise portals.
Java Portlet Specification Specifcation. If nothing has changed in the back-end system, you validate that the expired cache content is still valid to use by setting the CacheControl.