Hi Curi,
The recommended practice is to use the JSR 168 portlet API unless you need a function that is only available in the IBM portlet API. The JSR 168 portlet API is required for portability and compatibility, or if your portlet will be published as a Web Service for Remote Portlets (WSRP) service. WSRP is a portal-based standard used to integrate remote portlets, provided by Web services, to the local portal page.
IBM will continue to support the IBM portlet API in current and future releases of WebSphere Portal. IBM is committed to open standards, and will continue to enhance the JSR 168 specification. WebSphere Portal provides full support for JSR 168.
Concepts unique to the IBM portlet API:
The following functions are only available using the IBM portlet API.
- Events can be sent between portlets.
- Portlets can add content to the portal navigation menu.
- Portlets can explicitly invalidate cached content.
- Portlets can use portlet services provided by WebSphere Portal. Some services will be available to JSR 168 portlets in WebSphere Portal v5.1.
- Portlets on the same page can
exchange properties using the Property broker (Click-to-Action) service.
Concepts unique to the JSR 168 portlet API:
- Portlets can store their navigational state using render parameters.
- Portlets can make data available to the entire Web application.
- During the action phase, portlets can redirect to other Web resources.
- Portlets can adapt to the calling portal using PortletContext objects.
- Portlets can access a portal user profile.
- Portlets can validate preference properties using a preference validator class.
Now you are ready to take a decision depending on your applications requirement.
Thanks
Dhananjay