Table of Contents
Preface
Chapter 1: Portals and Portal Servers
Chapter 2: Getting Started with JBoss Portal
Chapter 3: Saying Hello with a Portlet
Chapter 4: Managing the View
Chapter 5: Personalizing Our Portal Experience
Chapter 6: Portals and AJAX
Chapter 7: Databases and Portal
Chapter 8: Managing Content in Portal
Chapter 9: Portal Security
Chapter 10: Web Services and Portlets
Chapter 11: Portlet Coordination and Filters
Index
- Chapter 1: Portals and Portal Servers
- Portals
- Why portals?
- Types of portals
- Function-based portals
- Vertical portal
- Horizontal portal
- User-based portals
- B2B portal
- B2C portal
- B2E portal
- Function-based portals
- Portal servers
- Portlets and portlet container
- Constructing a view
- Portal specification and WSRP
- Servlets and portlets
- Summary
- Chapter 2: Getting Started with JBoss Portal
- JBoss portal server
- Features
- Installing the server
- Getting the software
- System requirements
- Installation
- JBoss portal packaged with JBoss application server
- JBoss portal binary without the server
- Building JBoss portal from source
- Configuration
- Changing the context root
- Changing the portal port
- Setting email service
- Configuring proxies
- Working with the portal
- Getting started
- Creating our first portal page
- Summary
- JBoss portal server
- Chapter 3: Saying Hello with a Portlet
- Portal page
- JSR-168 and JSR-286—Java portlet specification
- Portal URL
- Portlet modes
- Window states
- A Hello World portlet
- Portlet development environment
- Portlet package structure
- Writing the code
- Application descriptors
- portlet.xml
- portlet-instances.xml
- sayhello-object.xml
- web.xml
- Building the application
- Deploying the application
- Accessing the page and portal URL
- Summary
- Chapter 4: Managing the View
- The Presentation tier in portals
- Using Java Server Pages
- Archive package structure with JSP
- Writing the code
- Portlet class
- JSPs and portlet tags
- Application descriptors
- Building the application
- Deploying the application
- Using Java Server Faces
- JSR -301 Portlet Bridge
- Package structure with JSF
- Application descriptors
- Building the application
- Deploying the application
- Using JBoss Seam
- Building a sample application: an intranet portal
- Introduction
- Creating the MyCompany portal
- A JSP portlet
- Summary
- Chapter 5: Personalizing Our Portal Experience
- Personalization and customization
- Personalizing the portal
- Personalization models
- User profile-based
- Rules-based
- Collaborative filtering
- Personalized interface
- Layouts
- Themes
- RenderSets
- Custom development
- Personalized content
- Access-level based portlets
- Preference-based portlets
- Analytics-based portlets
- Personalization models
- Customizing the portal
- Setting preferences
- Drag-and-drop content
- Usability settings
- Summary
- Chapter 6: Portals and AJAX
- Rich user interfaces and AJAX
- Asynchronous JavaScript and XML or AJAX
- AJAX in JBoss portal
- JSR-168 AJAX limitations
- JSR-286 and AJAX
- Developing an AJAX portlet
- The front-end
- The server-side portlet
- Deployment
- AJAX support for markup
- Layout markup
- Renderer markup
- AJAX support for content
- Drag-and-Drop
- Partial content refresh
- Portal object configuration
- Portlet configuration
- Constraints in implementing partial refresh
- Considerations for AJAX implementations
- Global variables
- State management
- Visual cues
- Summary
- Rich user interfaces and AJAX
- Chapter 7: Databases and Portal
- Database use in portal
- Hibernate
- JBoss portal server using Hibernate
- Hibernate configuration for portal features
- Content management system database storage
- Building portlets using Hibernate
- A persistent portlet
- Configuring and using Hibernate
- Creating the persistent class
- Setting up database
- Creating the mappings
- Configuring Hibernate
- Creating the Data Access Object class
- The Portlet class and configuration
- Building and deployment
- A persistent portlet
- Summary
- Chapter 8: Managing Content in Portal
- Content management systems
- Adding content to portal
- Adding content to portal pages
- Editing content
- CMS service configuration
- Content storage configuration
- 100% database storage
- 100% filesystem storage
- Mixed Storage
- CMS Interceptors
- Localization
- CMS workflow service
- Activation and configuration
- Summary
- Content management systems
- Chapter 9: Portal Security
- Portal security
- Portal objects security
- Using the management console
- Using configuration files
- User security and access control
- Authentication
- Authorization
- User and role management
- The portal permission
- The authorization provider
- Making a programmatic security check
- Configuring an authorization domain
- LDAP configuration
- Single sign-on
- Identity management
- Managing users using admin console
- Identity portlets
- Captcha support
- Lost and reset passwords
- jBPM-based user registration
- Configuration
- Identity management API
- Content management system security
- CMS security configuration
- Summary
- Chapter 10: Web Services and Portlets
- Remoting in portal servers
- Web Service for Remote Portlets
- WSRP actors
- Portlet
- Producer
- Consumer
- End user
- Process flow
- WSRP actors
- WSRP Use Profiles
- Producer levels
- Base
- Simple
- Complex
- Consumer levels
- Base
- Simple
- Medium
- Complex
- Producer levels
- WSRP in JBoss portal
- WSRP implementation support
- Enabling remoting in portlets
- Configuring WSRP producer
- Producer configuration
- Customization
- Producer configuration
- Configuring WSRP consumer
- Remote producer configuration using Admin portlet
- Remote producer configuration using the WSRP producer descriptor
- Managing consumer configuration
- Instantiation of a remote portlet
- Summary
- Chapter 11: Portlet Coordination and Filters
- Going from JSR-168 to JSR-286
- Portlet coordination and inter-portlet communication
- Portlet events
- Public render parameters
- Portlet coordination in JBoss portal
- JSR-168 inter-portlet communication
- Coding listener and portlets
- Configuring the listener and portlets
- Deploying portlets
- Portlet events-based coordination
- Creating and retrieving events
- Configuring events
- Deploying portlets
- Public render parameter-based coordination
- Coding public parameters
- Configuring public render parameters
- Deploying portlets
- Additional JBoss coordination features
- Implicit and explicit coordination
- Explicit coordination configuration
- JSR-168 inter-portlet communication
- Portlet filters
- Creating the filter
- Configuring the filter
- Mapping the filter
- Deployment
- Summary
- Epilogue



