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 standard portlets:
A portlet service can be invoked only from within a portlet.
- Standard 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.
Portlet service interfaces used by standard portlets are different from those used by IBM portlets. You can write 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:
- ContentAccessService
- CredentialVaultService
- Model SPI services
- PumaHome
- DynamicUIManagementFactoryService
Related information
- Create own portlet service
- Access portlet services
- Access remote systems
- Understand the basics
- Cooperative portlets
Parent
Develop portlets