Portlet services
Portlet services are used to provide common functionality to portlets. Each portlet service has its own service-specific interface for the functionality that it offers. WebSphere Portal supports portlet services for both IBM portlets and JSR 168 portlets:
- JSR 168 compliant portlets use a JNDI lookup to retrieve a PortletServiceHome object, which is used to retrieve a portlet service implementation.
- IBM portlets retrieve portlet services using the PortletContext.getService() method.
A portlet service can be invoked only from within a portlet.
Portlet service interfaces used by JSR 168 compliant portlets are different from those used by IBM portlets. You can write your own portlet service and register it in the portal, so that all portlets can use it. Various services may be implemented by different vendors, for example, a SearchService, LocationService, or a MailService. The following services are available with WebSphere Portal:
See also
- Create your own portlet service
- Access portlet services
- Access remote systems
- Portlet development basics
Home |
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.