售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
JBoss Portal Server Development
Table of Contents
JBoss Portal Server Development
Credits
About the Author
About the Reviewers
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code for the book
Errata
Piracy
Questions
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
Portal servers
Portlets and portlet container
Constructing a view
Portal specification and WSRP
Servlets and portlets
Summary
2. Getting Started with JBoss Portal
JBoss portal server
Features
Technology and Architecture
Security and Single Sign On
Supported Standards
Portal and Portlet Container
Content Management System
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
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
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
5. Personalizing Our Portal Experience
Personalization and customization
Personalizing the portal
Personalization models
User profile-based
Rules-based
Collaborative filtering
Personalized interface
Layouts
Creating layouts
Using the layout JSP tags
Configuring layouts
Themes
Defining themes
Configuring themes
RenderSets
Using RenderSets
Custom development
Modifying header.jsp
Creating new JSPs
Modifying tabs.jsp
Personalized content
Access-level based portlets
Preference-based portlets
Analytics-based portlets
Customizing the portal
Setting preferences
Internationalization and localization
Drag-and-drop content
Usability settings
Summary
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
Inconsistent session attributes
Non-AJAX interaction
Considerations for AJAX implementations
Global variables
State management
Visual cues
Summary
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
Summary
8. Managing Content in Portal
Content management systems
Adding content to portal
Adding content to portal pages
Editing content
The CMS portlet
CMS service configuration
Content storage configuration
100% database storage
100% filesystem storage
Mixed Storage
CMS Interceptors
Localization
CMS workflow service
Activation and configuration
Summary
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
CMS super user
CMS security console
Summary
10. Web Services and Portlets
Remoting in portal servers
Web Service for Remote Portlets
WSRP actors
Portlet
Producer
Consumer
End user
Process flow
WSRP Use Profiles
Producer levels
Base
Simple
Complex
Consumer levels
Base
Simple
Medium
Complex
WSRP in JBoss portal
WSRP implementation support
Enabling remoting in portlets
Configuring WSRP producer
Producer configuration
Customization
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
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
Service descriptor
Portal descriptor
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
Event wiring
Parameter binding
Alias binding
Portlet filters
Creating the filter
Configuring the filter
Mapping the filter
Deployment
Summary
Epilogue
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜