10.6. Portlet services
JSR 168 portlets can access portlet services in WebSphere Portal version 5.1. Your portlet service will need to be rewritten to work with JSR 168. You can, however, write the portlet so that you can still use it with IBM portlets. The service provider interfaces from org.apache.jetspeed.portlet.service.spi are still supported to provide IBM portlets access to services.
You will have to create a new portlet service interface extending com.ibm.portal.portlet.service.PortletService.
Example 10-18. JSR Portlet Service interface
package example.portletservice; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; import com.ibm.portal.portlet.service.PortletService; public interface MyJSRPortletService extends ... |
Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.