|
|
|
Copyright
|
|
|
|
Preface
|
|
|
|
|
The team that wrote this redbook
|
|
|
|
|
Become a published author
|
|
|
|
|
Comments welcome
|
|
|
|
Chapter 1. Overview
|
|
|
|
|
Section 1.1. Portal evolution
|
|
|
|
|
Section 1.2. Overview
|
|
|
|
|
Section 1.3. WebSphere Portal
|
|
|
|
|
Section 1.4. Highlights in WebSphere Portal V5
|
|
|
|
|
Section 1.5. Portlet solution patterns
|
|
|
|
Chapter 2. Portlet API
|
|
|
|
|
Section 2.1. What is a portlet?
|
|
|
|
|
Section 2.2. Basic portlet terms
|
|
|
|
|
Section 2.3. MVC architecture
|
|
|
|
|
Section 2.4. Servlets versus portlets
|
|
|
|
|
Section 2.5. What is a portlet application?
|
|
|
|
|
Section 2.6. Portlet deployment
|
|
|
|
|
Section 2.7. Portlet life cycle
|
|
|
|
|
Section 2.8. Portlet API
|
|
|
|
|
Section 2.9. Core portlet objects
|
|
|
|
|
Section 2.10. Listeners
|
|
|
|
|
Section 2.11. Action event handling
|
|
|
|
|
Section 2.12. Core event objects
|
|
|
|
|
Section 2.13. Portlet messaging
|
|
|
|
|
Section 2.14. PropertyListener interface
|
|
|
|
|
Section 2.15. EventPhaseListener interface
|
|
|
|
|
Section 2.16. Attribute storage summary
|
|
|
|
|
Section 2.17. Portlet services
|
|
|
|
|
Section 2.18. Credential Vault
|
|
|
|
|
Section 2.19. Core Credential Vault objects
|
|
|
|
|
Section 2.20. Portlet JSPs
|
|
|
|
|
Section 2.21. Resources
|
|
|
|
Chapter 3. Portal Toolkit
|
|
|
|
|
Section 3.1. Hardware and software requirements
|
|
|
|
|
Section 3.2. Portal Toolkit installation
|
|
|
|
|
Section 3.3. Development environment
|
|
|
|
|
Section 3.4. Portlet application wizard
|
|
|
|
|
Section 3.5. Developing portlet applications
|
|
|
|
|
Section 3.6. Portlet.xml descriptor
|
|
|
|
|
Section 3.7. Deploying portlets
|
|
|
|
|
Section 3.8. Adding portlets to applications
|
|
|
|
|
Section 3.9. Examples
|
|
|
|
Chapter 4. A first portlet application
|
|
|
|
|
Section 4.1. Sample scenario
|
|
|
|
Chapter 5. Action event handling
|
|
|
|
|
Section 5.1. Action event
|
|
|
|
|
Section 5.2. Window events
|
|
|
|
|
Section 5.3. Simple action String support
|
|
|
|
|
Section 5.4. Sample scenario
|
|
|
|
Chapter 6. Portlet debugging
|
|
|
|
|
Section 6.1. Overview
|
|
|
|
|
Section 6.2. Sample scenario
|
|
|
|
Chapter 7. Portlet messaging
|
|
|
|
|
Section 7.1. Portlet messaging
|
|
|
|
|
Section 7.2. MessageListener
|
|
|
|
|
Section 7.3. MessageEvent
|
|
|
|
|
Section 7.4. DefaultPortletMessage
|
|
|
|
|
Section 7.5. PortletMessage
|
|
|
|
|
Section 7.6. Sample scenario
|
|
|
|
|
Section 7.7. Broadcasting messages
|
|
|
|
Chapter 8. National Language Support (NLS)
|
|
|
|
|
Section 8.1. Resource bundles
|
|
|
|
|
Section 8.2. Translating whole resources
|
|
|
|
|
Section 8.3. NLS administration
|
|
|
|
|
Section 8.4. Working with
characters
|
|
|
|
|
Section 8.5. NLS best practices
|
|
|
|
|
Section 8.6. Sample scenario: NLS bundles
|
|
|
|
|
Section 8.7. Sample scenario: translating whole resources
|
|
|
|
Chapter 9. Accessing Web Services
|
|
|
|
|
Section 9.1. Overview
|
|
|
|
|
Section 9.2. A simple Web Service project
|
|
|
|
|
Section 9.3. Creating a Web Services client portlet
|
|
|
|
|
Section 9.4. Run the WSClientPortlet application
|
|
|
|
Chapter 10. Using the Credential Vault
|
|
|
|
|
Section 10.1. Overview
|
|
|
|
|
Section 10.2. Importing a protected servlet application
|
|
|
|
|
Section 10.3. Using active credentials
|
|
|
|
|
Section 10.4. Using passive credentials
|
|
|
|
Chapter 11. Accessing back-end JDBC databases
|
|
|
|
|
Section 11.1. Creating a database connection
|
|
|
|
|
Section 11.2. Sample scenario
|
|
|
|
Chapter 12. Cooperative portlets
|
|
|
|
|
Section 12.1. Overview
|
|
|
|
|
Section 12.2. Sample scenario
|
|
|
|
|
Section 12.3. Hints and tips
|
|
|
|
Chapter 13. Advanced cooperative portlets
|
|
|
|
|
Section 13.1. Publishing properties programmatically
|
|
|
|
|
Section 13.2. Portlet event handling
|
|
|
|
|
Section 13.3. Broadcasting source data
|
|
|
|
|
Section 13.4. Wiring tool
|
|
|
|
|
Section 13.5. Sample scenario
|
|
|
|
Chapter 14. Struts portlets
|
|
|
|
|
Section 14.1. Overview
|
|
|
|
|
Section 14.2. Developing Struts Web applications
|
|
|
|
|
Section 14.3. Migrating Struts Web applications
|
|
|
|
Chapter 15. Portlet preview
|
|
|
|
|
Section 15.1. Overview
|
|
|
|
|
Section 15.2. Sample scenario
|
|
|
|
Chapter 16. Remote Server Attach
|
|
|
|
|
Section 16.1. Overview
|
|
|
|
|
Section 16.2. Preparing Portal for Remote Server Attach
|
|
|
|
|
Section 16.3. Remote Server Attach configuration
|
|
|
|
|
Section 16.4. Installing a portlet in Remote Portal
|
|
|
|
|
Section 16.5. Running the portlet
|
|
|
|
Appendix A. Portlet development platform sample installation
|
|
|
|
|
Prerequisites
|
|
|
|
|
WebSphere Studio Site Developer (WSSD) V5.0
|
|
|
|
|
WebSphere Portal Toolkit V5.0
|
|
|
|
|
Configuring Studio Site Developer and the Portal Toolkit
|
|
|
|
|
Configuration and preparation of the workstation
|
|
|
|
Appendix B. Automatically redeploying portlets
|
|
|
|
|
Description
|
|
|
|
Appendix C. Additional material
|
|
|
|
|
Locating the Web material
|
|
|
|
|
Using the Web material
|
|
|
|
Related
publications
|
|
|
|
|
IBM Redbooks
|
|
|
|
|
Other publications
|
|
|
|
|
Online resources
|
|
|
|
|
How to get IBM Redbooks
|
|
|
|
|
Help from IBM
|
|
|
|
Back cover
|
|
|
|
Index
|