Tuesday, 16 July 2013


JSR 168 & 286 Specifications

JSR 168 & 286 SPECIFICATIONS: These specifications are nothing but set of rules, which are used for the development of portlets and these are the members of the liferay portal technology.
DIFFERENCE BETWEEN JSR 168 & 286:

JSR 168:
·     Portlets communication will be through portlet session, with in the same application.
·     Doesn’t support the Ajax Implementation.
·     Action URL & Render URL is given by the JSR 168.

JSR 286:
·     Portlets communication will be through events and public render parameters. (Support IPC).
·     Support the Ajax implementation, portlet filters & listeners.
·     Resource URL is given by the JSR 286.


JSR 168
JSR 286
1
ActionURL
ActionURL

RenderURL
RenderURL


ResourceURL
2
Window States
Window States

(min)
(min)

(max)
(max)

(normal)
(normal)
3
Portlet Modes
Portlet Modes

(view)
(view)

(help)
(help)

(edit)
(edit)
4

IPC (Inter Portlet Communication)

URLs..

1.  ActionURL
a.  <portlet:actionURL………/>
Always points to processActon() method.

Uses (ActionRequest, ActionResponse)

2.  RenderURL
a.  <portlet:renderURL………/>
Always points to render() method

Uses (RenderRequest, RenderResponse)

3.  ResourceURL
a.  <portlet:resourceURL………/>
Always points to serveResource() method.

Uses (ResourceRequest, ResourceResponse)



1 comment: