IMPLEMENTATION OF PORTLET
We can implement the portlet by two
ways.
1. Generic
portlet:
It is build on top of JSR 168 and JSR 286. Can run on any server.
2. MVC
Portlet:
It is Liferay specific. This works on
only liferay portal server. (This is not in use as much as generic portlet).
DIFFERENCE BETWEEN GENERIC & MVC
PORTLET
Generic
portlet:
Generic
portlet is implemented by the JSR 168 & 286.
Used
to work on any servers.
Generic
portlet provides default implementation for the portlet interface.
MVC
Portlet:
MVC
portlet is implemented by the liferay server.
Used
to work only on liferay portal server.
MVC
portlet extends from Generic portlet and add to it several convenience methods.
No comments:
Post a Comment