Notices |
|
xi | |
Trademarks |
|
xii | |
Preface |
|
xiii | |
The team that wrote this redbook |
|
xiii | |
Become a published author |
|
xv | |
Comments welcome |
|
xvi | |
|
|
1 | (52) |
|
|
2 | (2) |
|
The generations of portal technology |
|
|
3 | (1) |
|
|
4 | (15) |
|
|
5 | (1) |
|
|
5 | (2) |
|
The WebSphere Portal framework |
|
|
7 | (3) |
|
WebSphere Portal architecture |
|
|
10 | (8) |
|
|
18 | (1) |
|
|
19 | (18) |
|
|
19 | (3) |
|
|
22 | (3) |
|
|
25 | (1) |
|
|
26 | (1) |
|
Portlets and the model-view-controller (MVC) design pattern |
|
|
26 | (1) |
|
WebSphere Portal runtime: the portlet container |
|
|
27 | (1) |
|
|
27 | (2) |
|
Portlet events and messaging |
|
|
29 | (3) |
|
|
32 | (5) |
|
Highlights in WebSphere Portal V5 |
|
|
37 | (11) |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
39 | (1) |
|
|
39 | (1) |
|
|
39 | (1) |
|
|
40 | (1) |
|
URL generation, processing and mappings |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
45 | (1) |
|
|
45 | (1) |
|
Cooperative portlets (Click-To-Action) |
|
|
46 | (1) |
|
|
47 | (1) |
|
Portlet solution patterns |
|
|
48 | (5) |
|
|
53 | (72) |
|
|
54 | (1) |
|
|
54 | (1) |
|
|
55 | (4) |
|
Standard MVC architecture |
|
|
56 | (1) |
|
|
57 | (1) |
|
|
58 | (1) |
|
|
59 | (2) |
|
What is a portlet application? |
|
|
61 | (1) |
|
|
61 | (19) |
|
|
64 | (3) |
|
|
67 | (9) |
|
|
76 | (1) |
|
Descriptors relationship (web.xml and portlet.xml) |
|
|
76 | (1) |
|
|
77 | (1) |
|
|
78 | (2) |
|
|
80 | (2) |
|
|
82 | (1) |
|
|
82 | (1) |
|
|
83 | (12) |
|
|
83 | (1) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
87 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
89 | (1) |
|
PortletApplicationSettings object |
|
|
90 | (1) |
|
|
91 | (1) |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
93 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
94 | (1) |
|
|
95 | (3) |
|
|
95 | (1) |
|
|
95 | (2) |
|
|
97 | (1) |
|
|
97 | (1) |
|
PortletSettingsAttributeListener |
|
|
98 | (1) |
|
PortletApplicationSettingsAttributesListener |
|
|
98 | (1) |
|
|
98 | (1) |
|
|
99 | (3) |
|
|
99 | (1) |
|
|
99 | (1) |
|
|
100 | (1) |
|
|
101 | (1) |
|
|
102 | (3) |
|
|
102 | (1) |
|
|
103 | (1) |
|
|
103 | (1) |
|
|
104 | (1) |
|
PropertyListener interface |
|
|
105 | (1) |
|
EventPhaseListener interface |
|
|
106 | (1) |
|
Attribute storage summary |
|
|
107 | (1) |
|
|
108 | (5) |
|
|
109 | (1) |
|
|
109 | (4) |
|
|
113 | (1) |
|
Core Credential Vault objects |
|
|
114 | (4) |
|
|
114 | (1) |
|
|
114 | (1) |
|
|
115 | (1) |
|
|
115 | (3) |
|
|
118 | (6) |
|
|
118 | (6) |
|
|
124 | (1) |
|
|
125 | (28) |
|
Hardware and software requirements |
|
|
126 | (2) |
|
Portal Toolkit installation |
|
|
128 | (1) |
|
|
128 | (1) |
|
Portlet application wizard |
|
|
129 | (7) |
|
Developing portlet applications |
|
|
136 | (4) |
|
Portlet application contents |
|
|
137 | (1) |
|
|
138 | (2) |
|
|
140 | (6) |
|
|
146 | (3) |
|
Adding portlets to applications |
|
|
149 | (1) |
|
|
150 | (3) |
|
A first portlet application |
|
|
153 | (28) |
|
|
154 | (27) |
|
Creating a portlet project |
|
|
154 | (9) |
|
Configuring the Test Environment |
|
|
163 | (3) |
|
Running the portlet application |
|
|
166 | (5) |
|
Updating the portlet project |
|
|
171 | (3) |
|
Adding a JavaBean to your portlet project |
|
|
174 | (7) |
|
|
181 | (32) |
|
|
182 | (2) |
|
|
184 | (2) |
|
Simple action String support |
|
|
186 | (1) |
|
|
186 | (27) |
|
|
187 | (2) |
|
Creating the ActionEvent portlet |
|
|
189 | (20) |
|
Run the ActionEvent portlet application |
|
|
209 | (4) |
|
|
213 | (12) |
|
|
214 | (1) |
|
|
214 | (11) |
|
|
214 | (2) |
|
Debugging a portlet application |
|
|
216 | (9) |
|
|
225 | (24) |
|
|
226 | (1) |
|
|
226 | (1) |
|
|
227 | (1) |
|
|
227 | (1) |
|
|
228 | (3) |
|
|
231 | (14) |
|
|
231 | (2) |
|
|
233 | (3) |
|
Creating the target portlet |
|
|
236 | (6) |
|
Running the portlet application |
|
|
242 | (3) |
|
|
245 | (4) |
|
National Language Support (NLS) |
|
|
249 | (42) |
|
|
250 | (8) |
|
Creating resource bundles in WebSphere Studio |
|
|
252 | (2) |
|
Translating resource bundles |
|
|
254 | (2) |
|
Accessing resource bundles in portlets |
|
|
256 | (1) |
|
Accessing resource bundles in JSPs |
|
|
257 | (1) |
|
Translating whole resources |
|
|
258 | (2) |
|
|
260 | (5) |
|
Portlet NLS administration |
|
|
260 | (3) |
|
Portal NLS administration |
|
|
263 | (1) |
|
|
263 | (1) |
|
Adjusting Portal resource bundles |
|
|
264 | (1) |
|
|
265 | (1) |
|
|
265 | (1) |
|
Sample scenario: NLS bundles |
|
|
266 | (17) |
|
|
268 | (4) |
|
Accessing NLS bundles from JSPs |
|
|
272 | (3) |
|
|
275 | (6) |
|
Accessing NLS bundles in Java portlets |
|
|
281 | (2) |
|
Sample scenario: translating whole resources |
|
|
283 | (8) |
|
|
291 | (28) |
|
|
292 | (1) |
|
A simple Web Service project |
|
|
293 | (15) |
|
|
298 | (10) |
|
Creating a Web Services client portlet |
|
|
308 | (6) |
|
Run the WSClientPortlet application |
|
|
314 | (5) |
|
Using the Credential Vault |
|
|
319 | (24) |
|
|
320 | (5) |
|
Importing a protected servlet application |
|
|
325 | (5) |
|
|
330 | (11) |
|
Updating the generated portlet |
|
|
335 | (3) |
|
|
338 | (3) |
|
Using passive credentials |
|
|
341 | (2) |
|
Accessing back-end JDBC databases |
|
|
343 | (28) |
|
Creating a database connection |
|
|
344 | (9) |
|
Creating a new connection |
|
|
344 | (2) |
|
|
346 | (1) |
|
Creating an SQL statement |
|
|
347 | (1) |
|
|
347 | (4) |
|
Running the SQL statement |
|
|
351 | (2) |
|
|
353 | (18) |
|
|
353 | (2) |
|
|
355 | (4) |
|
|
359 | (2) |
|
Reviewing the portlet code |
|
|
361 | (5) |
|
Running the HRPortlet application |
|
|
366 | (5) |
|
|
371 | (42) |
|
|
372 | (4) |
|
The WebSphere Portal property broker |
|
|
373 | (1) |
|
|
373 | (2) |
|
Registering and publishing properties |
|
|
375 | (1) |
|
|
376 | (33) |
|
|
376 | (1) |
|
|
377 | (3) |
|
Source cooperative portlet |
|
|
380 | (10) |
|
Target cooperative portlet |
|
|
390 | (15) |
|
Running the cooperative portlets |
|
|
405 | (4) |
|
|
409 | (4) |
|
Advanced cooperative portlets |
|
|
413 | (34) |
|
Publishing properties programmatically |
|
|
414 | (1) |
|
|
415 | (2) |
|
|
417 | (1) |
|
|
418 | (1) |
|
|
419 | (28) |
|
Declarative source cooperative portlet |
|
|
419 | (3) |
|
Enabling the portlet for target C2A programmatic |
|
|
422 | (13) |
|
Running the cooperative portlets |
|
|
435 | (5) |
|
|
440 | (1) |
|
Enabling HRPortlet for programmatic source C2A |
|
|
440 | (5) |
|
Running the programmatic source portlet |
|
|
445 | (2) |
|
|
447 | (16) |
|
|
448 | (2) |
|
The Struts portlet framework |
|
|
449 | (1) |
|
Developing Struts Web applications |
|
|
450 | (6) |
|
Migrating Struts Web applications |
|
|
456 | (7) |
|
|
463 | (14) |
|
|
464 | (3) |
|
Portlet Preview buttons available in the toolbar |
|
|
465 | (2) |
|
|
467 | (10) |
|
Defining the Portlet Preview preference |
|
|
467 | (3) |
|
|
470 | (7) |
|
|
477 | (24) |
|
|
478 | (1) |
|
Preparing Portal for Remote Server Attach |
|
|
479 | (5) |
|
Remote Server Attach configuration |
|
|
484 | (2) |
|
Installing a portlet in Remote Portal |
|
|
486 | (10) |
|
|
496 | (5) |
|
Appendix A. Portlet development platform sample installation |
|
|
501 | (34) |
|
|
502 | (4) |
|
Installing a loopback adapter |
|
|
502 | (4) |
|
WebSphere Studio Site Developer (WSSD) V5.0 |
|
|
506 | (18) |
|
WebSphere Studio Site Developer - WSSD Fix Pack 1 |
|
|
510 | (6) |
|
WebSphere Studio Site Developer - WebSphere Application Server Fix Pack 1 |
|
|
516 | (2) |
|
WebSphere Studio Site Developer - WebSphere Application Server Interim Fixes |
|
|
518 | (6) |
|
WebSphere Portal Toolkit V5.0 |
|
|
524 | (3) |
|
|
524 | (3) |
|
Configuring Studio Site Developer and the Portal Toolkit |
|
|
527 | (6) |
|
Configuration and preparation of the workstation |
|
|
533 | (2) |
|
Installing the Cloudscape sample database |
|
|
533 | (2) |
|
Appendix B. Automatically redeploying portlets |
|
|
535 | (8) |
|
|
536 | (7) |
|
Appendix C. Additional material |
|
|
543 | (2) |
|
Locating the Web material |
|
|
543 | (1) |
|
|
544 | (1) |
|
System requirements for downloading the Web material |
|
|
544 | (1) |
|
How to use the Web material |
|
|
544 | (1) |
|
|
545 | (2) |
|
|
545 | (1) |
|
|
545 | (1) |
|
|
545 | (1) |
|
|
546 | (1) |
|
|
546 | (1) |
Index |
|
547 | |