Chapter 1. Introduction to WebSphere Portal Server
|
- What is a Portal
- An Example of a WebSphere Portal Site
- General Portal Architecture
- WebSphere Portal Products
- A Typical Network Architecture for WebSphere Portal
- WebSphere Portal Server
- WebSphere Portal Server Architecture
- WebSphere Portal Server Architecture
- WebSphere Portal Server Architecture
- Page Aggregation Modules
- Portlet
- WebSphere Portal Built-in Portlets
- Portlet Application
- Portlet Mode and State
- WebSphere Portal Information
- Java Portlet Specification 1.0 (JSR-168)
- Java Portlet Specification 2.0 (JSR-286)
- Portlet Security Overview
- Portal Access Control
- Portal User Management
- Credential Vault Service
- Best Practices For Development
- Summary
- Review Questions
- Review Answers
|
|
|
Chapter 2. Portlet Development Using Rational Application Developer 8.0
|
- The RAD 8.0 Product
- Portlet Development Support
- RAD 8.0 Installation
- Portal Server 7.0 Installation
- Basic Steps in Portlet Development
- Project Structure
- Portlet Project
- Create a Project Structure
- portlet.xml Editor
- Create a Test Portal Server
- Create a Test Portal Server
- Managing the Server
- Unit Testing
- Unit Testing
- Export Portlet Application
- Summary
- Review Questions
- Review Answers
|
|
|
Chapter 3. Introduction to JSR 286 Based Portal Programming
|
- What is JSR 286?
- Relationship With Java SE and Java EE
- Comparing Portlets with Servlets
- Comparing Portlets with Servlets
- A Portal Site
- Portlet
- Portlet Application
- The portlet.xml File
- Portlet Definition in portlet.xml
- Portlet Container
- Portlet Window
- Review Questions
- Review Answers
- Summary
|
|
|
Chapter 4. Basic Portlet Programming
|
- Model-View-Controller in Portlet Application
- The Portlet Interface
- The Hello World Portlet
- Portlet Lifecycle - Initialization
- Portlet Lifecycle – Request Handling
- Two Phase Request Processing
- Two Phase Request Processing Architecture
- The render Method
- The PortletRequest Interface
- The PortletResponse Interface
- The RenderResponse Interface
- PortletURL
- PortletURL Example
- The processAction Method
- The ActionRequest Interface
- Example: Handling Form Submission
- The ActionResponse Interface
- Example Use of Render Parameters
- Dealing With Browser History
- The GenericPortlet Class
- The GenericPortlet Class
- User Session Management
- Using the Session
- Relationship of PortletSession with HttpSession
- Session Usage Example
- End of Portlet Life
- Portlet Configuration
- Initialization Parameters
- Portlet Context
- Invoking the View Layer
- Controller Logic Implementation Techniques
- Review Questions
- Review Answers
- Summary
|
|
|
Chapter 5. Portlet Preferences
|
- Portlet Preferences
- Portlet Preferences API
- Example: Reading Preferences
- Updating Portlet Preferences
- Example: Updating Preference
- Validating Preference Update
- Example Validator Class
- Review Questions
- Review Answers
- Summary
|
|
|
Chapter 6. Display Generation
|
- Techniques in View Development
- PortletRequestDispatcher include/forward Details
- JSR 286 Tags
- The defineObjects Tag
- The defineObjects Tag
- Example defineObjects Usage
- The actionURL Tag
- The renderURL Tag
- The param Tag
- The namespace Tag
- National Language Support
- Resource Bundle File
- Displaying Translated Text
- Portlet Resource Bundle
- Providing Locale Specific Preference Defaults
- Review Questions
- Review Answers
- Summary
|
|
|
Chapter 7. Advanced Programming Topics
|
- JSR 286 Annotations
- @RenderMode
- @ProcessAction Annotation
- Setting the Action Name in URL
- Portlet Caching
- Basic Caching Setup
- Programmatic Cache Control
- Validation Based Caching
- Validation Caching API
- Example Validation Control
- Summary
|
|
|
Chapter 8. Portlet Services
|
- Portlet Services
- Writing a Portlet Service
- Defining the Portlet Service Interface
- Example - AccountService
- Writing the Portlet Service Implementation
- java.util.prefs.Preferences
- Example – AccountServiceImpl
- Registering Portlet Services
- WAS Admin Console PortletServiceRegistryService
- Using a Service from a Portlet
- Example – Using a Service
- Content Access Service
- Content Access Service
- Summary
- Review Questions
- Review Answers
|
|
|
Chapter 9. Credential Vault
|
- Credential Vault
- Credential
- Components of Credential Vault
- Structure of the Credential Vault
- Slot
- Slot Scope
- Credential Access Level
- Single Sign-on Scenario
- CredentialSlotConfig
- CredentialSlotConfig
- CredentialVaultService
- CredentialVaultService Interface Methods
- CredentialVaultService Interface Methods
- CredentialVaultService Interface Methods
- Example - Looking Up CredentialVaultService
- Example – Create a Slot
- Saving Credential in a Slot
- Credential Class
- Classes that Implement the Credential Interface
- PassiveCredential
- UserPasswordPassiveCredential
- Example – Using a PassiveCredential
- ActiveCredential
- HttpFormBasedAuthCredential
- HttpFormBasedAuthCredential
- Example – Using HttpFormBasedAuthCredential
- Example – Using HttpFormBasedAuthCredential
- Summary
- Review Questions
- Review Answers
|
|
|
Chapter 10. Portlet Communication Overview
|
- Portlet Communication Techniques
- Comparison of Portlet Communication Techniques
- Comparison of Portlet Communication Techniques
- Comparison of Portlet Communication Techniques
- Which Portlet Communication Technique Should I Use?
- Which Portlet Communication Technique Should I Use?
- Summary
|
|
|
Chapter 11. Portlet Event
|
- Portlet Events
- Event Architecture
- Example Use Case
- Event Flow Sequence
- Sequence Diagram
- Defining an Event in portlet.xml
- Using Default Namespace
- Creating the Payload Class
- Publishing an Event
- Consuming an Event
- Consuming an Event
- The @ProcessEvent Annotation
- Details about @ProcessAction
- Additional Notes About Events
- Summary
|
|
|
Chapter 12. Public Render Parameter
|
- Public Render Parameters
- Example Use Case
- Steps to Using Public Render Parameters
- Define Public Render Parameter in portlet.xml
- Declare Public Render Parameter for a Portlet
- Setting Value of a Public Render Parameter
- Example Setting Public Render Parameter
- Getting Value of a Public Render Parameter
- Additional API
- Summary
|
|
|
Chapter 13. Client-side Click-to-Action Portlet Communication
|
- Client-side Click-to-Action ("Live Text")
- Example Use Case
- Example Use Case
- Specify a Live Text Source
- Specify a Live Text Source – Example
- Specify a Live Text Target
- Specify a Live Text Target - Example
- Using RAD 8.0 to Set up Client-side Click-to-Action
- Insert a Client-side Click-to-Action Output Property
- Insert a Client-side Click-to-Action Input Property
- Insert a Client-side Click-to-Action Menu Header
- Looking Underneath the Hood
- Looking Underneath the Hood
- Summary
|
|
|
Chapter 14. Introduction to JavaServer Faces
|
- What is JavaServer Faces (JSF)?
- Why Use JSF?
- Nature of a JSF Application
- The Sun Reference Implementation (RI)
- JSF and MVC
- JSF and MVC
- Faces Servlet
- Faces Servlet
- Faces Servlet
- Managed Bean
- The View
- A Simple JSF Application
- The Input Form: form.jsp
- The Result: thanks.jsp
- The Controller: AddressBean
- Page Flow or Navigation Rule
- How Does the Application Work?
- How Does the Application Work?
- Under the Covers: The Rendered Form HTML
- Under the Covers: The Layout Tree
- Creating a JSF Portlet
- Creating a JSF Portlet
- Creating a JSF Portlet
- Navigation State Management
- Advanced: Obtaining Core JSF Objects
|
|
|
Chapter 15. Composite Applications
|
- What Is A Composite Application?
- What Is A Component?
- Components and Applications
- Benefits Of Composite Applications
- Template
- Enabling Composite Application Support
- Enabling Composite Application Support
- Composite Application Design and Use
- Creating A Template
- Creating A Template
- Configuring A Template
- Configuring A Template
- Edit the Template Layout
- Edit the Template Layout
- Creating the Application
- Creating the Application
- Creating the Application
- Configuring the Application
- Configuring the Application
- Using the Application
- Using the Application
- Protecting Applications and Templates
- Defining Roles
- Roles Portlet
- Roles Portlet
- Roles Portlet
- Roles Portlet
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Assign Application Members
- Summary
|
|
|
Chapter 16. Using AJAX in a Portlet
|
- What is AJAX?
- A Simple Example
- The Old Way
- The AJAX Way
- Two Key Aspects of AJAX
- Advantages of the AJAX Approach
- The Basic AJAX API
- Creating the XMLHttpRequest Object
- The XMLHttpRequest Object Basics
- Complete Example
- The Timeline
- Using AJAX from a Portlet
- JSR-286 and AJAX
- The ResourceServingPortlet Interface
- Output From serveResource()
- ResourceURL
- AJAX Request Timeline
- Steps to be Taken by a Portlet
- A Complete Example
- The View JSP
- The Portlet Class
- Summary
|
|
|
Chapter 17. iWidget Portlet
|
- Introduction to iWidget
- iWidget Portlets
- Anatomy of an iWidget
- Creating an iWidget
- The iWidget Editor
- Developing the Business Logic
- Lifecycle Callback Methods
- Firing an Event
- Consuming an Event
- Wiring
- Summary
|
|
|
Chapter 18. Web Services for Remote Portlets
|
- Remote Portlets
- WSRP
- WSRP Terminology
- WSRP Benefits
- WSRP Architecture
- Information Artifacts
- Security Issues
- JSR-286 and WSRP 2.0
- Pre-defined Container Events
- Pre-defined Container Events
- Summary
|
|
|
Chapter 19. Portlet Build and Deployment Process
|
- Introduction
- Overview of the Build Process
- The Build Process
- Installing a Portlet Web Module
- How is a Portlet Web Module Installed?
- How is a Portlet Web Module Installed?
- Deploying Portlets Within an EAR
- Managing Portlet Web Modules
- Managing Portlet Web Modules
- Managing Portlet Applications
- Managing Portlet Applications
- Managing Portlets
- Managing Portlets
- Adding a Portlet to a Page
- Configuring a Portlet
- Copying a Portlet Application
- Copy a Portlet
- Removing a Portlet From a Page
- Uninstalling a Portlet Application
- Summary
|
|
|
Chapter 20. Portal Development Best Practices
|
- Architecture Best Practices
- Controller (Portlet) Guidelines
- Controller (Portlet) Guidelines
- Controller (Portlet) Guidelines
- View (JSP) Guidelines
- View (JSP) Guidelines
- View (JSP) Guidelines
- Configuration Management
- Session Management
- Security Guidelines
- Java Performance Tips
- Portlet Performance Tips
- Performance Testing Guidelines
- Summary
|