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 Express supports
portlet services for both IBM portlets and standard portlets:
- 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.
A portlet service can be invoked only from within a portlet.
Portlet service interfaces used by standard 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 Express:
- portlets to access remote systems or content from remote URLs, including URLs located on the other side of a proxy server. You should always use this service to access remote content if you cannot be certain whether a firewall will be present after the portlet is deployed into a production environment.">ContentAccessService
- portlets need to provide some form of authentication to access these remote applications. In order to provide a single sign-on user experience, portlets must be able to store and retrieve user credentials for their particular associated application and use those credentials to log in on behalf of the user. WebSphere Portal Express supports the use of a credential vault where users and administrators can safely store credentials for authentication. Portlets written to extract the user's credentials from the vault can hide the login challenge from the user.">CredentialVaultService
- PropertyBrokerService
- Model SPI services
- PumaHome
- DynamicUIManagementFactoryService
Related information
Parent topic: portlets, introduces the concepts of the APIs used to develop portlets, and provides samples to get you started. It also provides information on integrating features such as single sign-on, cooperative sharing of information using the property broker, and migrating Struts applications to the portlet environment.">Developing portlets
|
|
|