rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781590592847

Building Portals With the Java Portlet API

by ;
  • ISBN13:

    9781590592847

  • ISBN10:

    1590592840

  • Format: Paperback
  • Copyright: 2004-08-16
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $0.05
  • Buy New
    $49.94
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Summary

This book is a thorough introduction into JSR 168 that will help get portal developers up to speed into this relatively new specification. - Thomas Paul, JavaRanch SheriffHow do developers bring existing applications into a portal? How do developers integrate content management systems and search engines with a portal? And how do developers get started with the Portlet API? Jeff Linwood and Dave Minter show you how to solve these real problems inBuilding Portals with the Java Portlet API.This book describes the new Java portlet API, including security, portlet life cycles, and portlet interaction with servlets and JSP. The examples will work on any portal that complies with the JSR-168 portlet API. Several example portlets are developed to give you hands-on portlet experience. You'll even learn how to port existing servlet and JSP applications into a new portal environment.The authors also discuss Single Sign-On (SSO) using Kerberos and the GSS-API, syndicating content with RSS, and integrating a charting solution with JFreeChart. Other topics covered are the open-source Apache Jakarta Lucene search engine, personalization, portlet configuration, portlet preferences, and Web Services for Remote Portals (WSRP). XDoclet is also used throughout portions of this book.

Table of Contents

Foreword xi
About the Authors xiii
About the Technical Reviewer xiv
Acknowledgments xv
Introduction xvii
Introduction to Portals and Portlets
1(10)
Providing a Solution with Portals
1(1)
Designing the Portal's Information Architecture
2(3)
Portal Application Architecture
5(1)
Building Portlets with the Portlet API
6(1)
Providing Technical Solutions with Portals
7(1)
Security and Single Sign-On
7(1)
Content Syndication and RSS
7(1)
Searching Content from the Portal
7(1)
Portals and Web Services
8(1)
Integrating Existing Applications into the Portal
9(1)
Using Charts in the Portal
10(1)
Content Management and Portlets
10(1)
Summary
10(1)
Portlet Basics
11(30)
First Portlet
12(3)
Building the Portlet Application
15(4)
Packaging
19(1)
Deploying
19(2)
Running
21(1)
Portlet Programming 101
21(1)
GenericPortlet
21(1)
Portlet Requests
22(1)
Portlet Response
23(2)
Enhancing the Portlet
25(12)
Web.xml Deployment Descriptor
37(1)
Packaging and Deploying
38(1)
Running
39(1)
Summary
40(1)
The Portlet Life Cycle
41(32)
The Portlet Interface
41(3)
Overview
44(1)
Creation of the Portlet
44(3)
Request Handling
47(4)
Destroying the Portlet
51(1)
Threading Issues
51(20)
Summary
71(2)
Portlet Concepts
73(46)
Portlet Requests
73(5)
Render Request
78(1)
Action Request and File Uploading
78(7)
Portlet Response
85(1)
Render Response
86(3)
Action Response
89(3)
Portlet Context
92(6)
Sessions
98(4)
Sessions and Interportlet Communication
102(3)
Content Markup Types
105(2)
Portlet Modes
107(6)
Window States
113(3)
Caching
116(1)
Style Sheets and the User Experience
116(1)
Summary
117(2)
Using Servlets and JavaServer Pages with Portlets
119(40)
Portlets, Servlets, and JSP Design Goals
119(1)
Portlet Request Dispatcher
120(6)
Request and Response Objects
126(5)
Session Management Between a Portlet and a Servlet or JSP
131(1)
Creating a Form in JSP
132(1)
Using the Portlet JSP Tag Library
132(5)
To-Do List Portlet Example
137(16)
The web.xml Deployment Descriptor
153(1)
Directory Structure of the Application
153(1)
Complete Code Listing for the To-Do List Portlet
154(4)
Summary
158(1)
Packaging and Deployment Descriptors
159(26)
Portlet Application Packaging
159(1)
Versioning
159(1)
Portlet Application Deployment Descriptor Structure
160(10)
Web Application Deployment Descriptor
170(1)
XDoclet Portlet Support
171(13)
Summary
184(1)
Portal and Portlet Configuration
185(24)
Using the PortalContext to Retrieve Information About the Portal
185(5)
Using the PortletConfig Object
190(5)
Using Portlet Preferences
195(13)
Summary
208(1)
Security and Single Sign-On
209(30)
Portlet Security
210(28)
Summary
238(1)
RSS and Syndication
239(16)
Overview of RSS
239(1)
Walking Through an Example RSS File
240(6)
RSS Browsers
246(1)
Displaying Syndicated Information in Portlets
247(2)
Syndicating Out
249(4)
Summary
253(2)
Integrating the Lucene Search Engine
255(26)
Overview of Lucene
255(1)
Downloading and Installing Lucene
256(1)
Lucene Concepts
256(7)
Building an Index with Lucene
263(7)
Designing a Portlet to Search the Index
270(1)
Developing a Portlet for Lucene
271(6)
Indexing Other Types of Content
277(2)
Lucene and Different Types of Content
279(1)
Summary
280(1)
Personalization and User Attributes
281(14)
Making a Good Impression
281(8)
Making Choices
289(5)
Summary
294(1)
Web Services for Remote Portlets (WSRP) and Application Syndication
295(12)
WSRP Overview
295(3)
WSRP and the Java Portlet API
298(1)
WSRP Markup in Content Fragments
299(5)
Using WSRP
304(1)
Common Problems with Application Syndication
304(2)
Future Directions of WSRP
306(1)
Summary
306(1)
Exposing an Existing Application As a Portlet
307(32)
Overview of the YAZD Forum Software
307(2)
Deciding What to Change
309(3)
Displaying Screens in a Portlet
312(20)
Getting Configuration Information
332(6)
Issues Encountered in Our Example
338(1)
Summary
338(1)
Charting with JFreeChart
339(20)
Building Charts and Graphs with JFreeChart
339(1)
Chart Types
340(3)
Basic JFreeChart Example
343(4)
Providing Data to the Chart
347(3)
Displaying Charts from a Portlet
350(4)
Portlet Extensions to JFreeChart
354(1)
Portlet Example with a 3D Pie Chart
354(3)
Summary
357(2)
Content Management Systems
359(22)
Overview of Content Management Systems
359(2)
Integration with a Content Management System
361(1)
Common Problems with CMS and Portals
361(1)
Java Content Repository API (JSR 170)
362(6)
WebDAV
368(1)
WebDAV Methods
368(2)
Slide WebDAV Client Library
370(1)
WebDAV Portlet
371(9)
Summary
380(1)
Index 381

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program