<<

. 3
( 87 .)



>>

Chapter 14 Portlet Programming Model and API 259
The JSR 168 API 259
Portlet API in WebSphere Portal 260
Portlet API Comparison 260
260
Portlet Deployment Descriptors
263
Portlet Processing Model
265
Portlet Life Cycle and Con¬guration Objects
267
Portlet Services and Objects
270
Portlet URI Addressability
273
Portlet Window
Developing JSR 168 Portlets for WebSphere Portal 273
Enabling the Portlet Container for JSR 168 273
Which API Should You Use for Your Portlet? 274
Summary 274

Chapter 15 WebSphere Portlet Development Environment 275
An Example Poll Portlet 275
WebSphere Studio 280
Portal Toolkit 280
281
Portlet Project
281
Portlet Perspective
282
Portal Server Con¬guration
282
Portlet Preview
283
Building the Portlet Application WAR File
Creating the Poll Portlet Project 283
283
The Portlet Perspective
Deployment Descriptor Editor 291
Generated Source Code 294
Summary 295

Chapter 16 Portlet Development 297
Poll Portlet 297
Implementing the Controller 298
308
Action Classes
Implementing the Action Classes 309
310
Con¬guration Mode
313
View Mode
314
Edit Mode
Implementing the View Classes 315
Implementing the Model Classes 317
Implementing Persistence Classes 320
321
DatabaseBroker
P1: FCH/SPH P2: FCH/SPH QC: FCH/SPH T1: FCH
WY009-FM WY009-BenNatan-v1.cls May 26, 2004 1:21




Contents xiii


Implementing Utility Classes 321
Summary 321


Chapter 17 Portlet Interactive Debug and JSR 168 Example 323
Poll Portlet Project 323
Portal Server Con¬guration 324
Portal Debug Mode 328
Portal Trace Logging 330
Generating a Deployable WAR File 332
Deploying Using the Install Administrative Portlet 332
Deploying Using XML Con¬guration Interface 333
Developing the Poll Portlet with JSR 168 API 333
334
Create the Poll Project
Generated Portlet Code 335
336
Deployment Descriptors
338
Poll Portlet Class
Modifying the Poll Project Source 339
339
PollPortlet
341
Action Classes
341
Model Objects
341
View Classes
342
User Identi¬er
342
JSPs
Summary 343


Chapter 18 Struts Portlet Framework 345
Creating the New Project 345
Web Deployment Descriptor 348
Portlet Deployment Descriptor 349
Struts Con¬guration Files 351
351
Struts Con¬guration in Portlet View Mode
353
Struts Con¬guration in Portlet Edit Mode
353
Struts Con¬guration in Portlet Con¬gure Mode
Action Classes 355
Remaining Poll Portlet Implementation 357
357
Data Beans
358
Persistence Classes
358
Portlet Controller Classes
358
Utilities Classes
358
View Classes
JSP Differences 358
359
Portlet URL Addressability
360
Generating Portlet URIs
Which Implementation Should You Use? 361
Summary 361
P1: FCH/SPH P2: FCH/SPH QC: FCH/SPH T1: FCH
WY009-FM WY009-BenNatan-v1.cls May 26, 2004 1:21




xiv Contents


IV WebSphere Portal within the Enterprise Environment 363
Chapter 19 Implementing Authentication for Large Enterprises 365
Enterprise Identity Management 365
366
LDAP or Database
Rules of Thumb for Designing and Maintaining Your
367
LDAP Server
Implementing WebSphere Portal Enterprise Identity
Management 371
372
Setting Up Your LDAP Servers
375
Con¬guring WebSphere Portal for Your LDAP Server
Enabling WebSphere Portal to Access Your LDAP Server
380
over SSL
Mapping of Member Manager Attributes to Your
LDAP Attributes 383
Summary 384
Chapter 20 Integrating Security and Identity Management Tools
with WebSphere Portal 385
Isn™t J2EE Security Enough? 386
Third-Party Authentication and SSO Architectures 387
Integrating TAM with WP 388
389
Installing TAM Support on WP
392
Setting Up SSO
Installing SiteMinder Support on WP 397
398
Using SiteMinder as a Third-Party Authentication Server
399
Using SiteMinder as an External Security Manager
Summary 401
Chapter 21 Designing High Availability into Your Portal Server 403
The Challenges of High Availability 403
Determining a High-Availability Strategy for
WebSphere Portal 405
Implementing a Highly Available WebSphere
Portal Solution 409
410
Vertical Scaling with a WebSphere Portal Cluster
411
Horizontal Scaling with a WebSphere Portal Cluster
412
Con¬guring WebSphere Portal in a Clustered Environment
Summary 419
Chapter 22 WebSphere Portal Support for Web Services and
Remote Portlets 421
A Quick Review of Web Services and Remote Portlets 423
424
Using Remote Portlets in WP
Using Web Services as “Back-End” APIs 425
426
Using the IBM UDDI Business Test Registry
427
Discovering a Web Service
428
Generating a Java Proxy
P1: FCH/SPH P2: FCH/SPH QC: FCH/SPH T1: FCH
WY009-FM WY009-BenNatan-v1.cls May 26, 2004 1:21




Contents xv


Using WSRP within WP 429
431
Con¬guring WP for WSRP
433
Setting Up WSRP Producers
434
Setting Up WSRP Consumers
436
Futures
UDDI and tModelKeys 436
Summary 437
Chapter 23 Integrating External Applications with WebSphere Portal 439
Why Discuss Integration? 439
What Options Can You Choose from? 440
442
Which Tools Are Available to You?
Developing Portlets Using Adapters 443
443
JCA Resource Adapters
444
WebSphere Adapter for mySAP.com and WSADIE
446
Describing the Interface Using WSDL
446
Generating the SAP Service and Using an SAP Proxy
Developing Portlets Using EAI Connectors 449
Using the Portal Application Integrator 452
Using the Credential Vault 454
455
Credential Vault Segments
456
Credential Vault Slots
458
Using the Credential Vault Service API
Using the WebSphere Portlet Catalog 459
Web Clipping 463
464
Web Clipping Authentication Options
465
Web Clipping Options for URL Rewriting
Application-Speci¬c Web Embedding 466
Embedding Functional Portals 469
Summary 470
Chapter 24 Supporting Mobile Users 473
Mobile Users 474
Supporting Multiple Markups 476
WebSphere Everyplace Access 479
479
Supporting Of¬‚ine Access
482
Supporting Multiple Wireless Environments
Transcoding Technology 483
488
Using XSL for Adapting Content
490
Using Annotators for Adapting Content
493
Transcoding Plug-ins

<<

. 3
( 87 .)



>>