Foreword |
|
xxi | |
|
Part I Introduction to WebSphere and Deployment |
|
|
1 | (82) |
|
|
3 | (6) |
|
Who Should Read This Book |
|
|
4 | (1) |
|
Why Concentrate So Much on Deployment? |
|
|
4 | (1) |
|
How This Book Is Organized |
|
|
5 | (1) |
|
Introduction to WebSphere |
|
|
6 | (2) |
|
|
8 | (1) |
|
Chapter 2 J2EE Applications |
|
|
9 | (14) |
|
Understanding J2EE and J2EE Applications |
|
|
9 | (3) |
|
|
12 | (9) |
|
|
12 | (1) |
|
|
13 | (3) |
|
EAR Deployment Descriptors |
|
|
16 | (5) |
|
|
21 | (2) |
|
Chapter 3 Was Quick Start |
|
|
23 | (18) |
|
Overview of Applications Used Throughtout This Book |
|
|
23 | (3) |
|
Was Deployment Quick Start |
|
|
26 | (13) |
|
Configuring a File Sample Security Registry |
|
|
27 | (7) |
|
Deploying Applications to WAS |
|
|
34 | (3) |
|
|
37 | (2) |
|
|
39 | (2) |
|
Chapter 4 Build and Deploy Procedures |
|
|
41 | (18) |
|
|
41 | (2) |
|
Development and Build Terminology |
|
|
42 | (1) |
|
Build and Deployment Models |
|
|
43 | (5) |
|
Assemble Connection Model |
|
|
43 | (2) |
|
|
45 | (1) |
|
|
46 | (2) |
|
|
48 | (9) |
|
|
49 | (2) |
|
|
51 | (1) |
|
Combining Build and Deployment Automation |
|
|
52 | (2) |
|
|
54 | (2) |
|
Adding Configuration Automation to Build and Deploy Automation |
|
|
56 | (1) |
|
|
57 | (2) |
|
Chapter 5 WebSphere Application Server Architecture |
|
|
59 | (24) |
|
|
59 | (22) |
|
|
61 | (1) |
|
|
61 | (3) |
|
WebSphere Architecture Terms |
|
|
64 | (1) |
|
|
65 | (1) |
|
Classloaders in WebSphere |
|
|
66 | (7) |
|
|
73 | (6) |
|
Logging and Tracing in WAS |
|
|
79 | (2) |
|
|
81 | (2) |
|
Part II J2EE Deployment and Administration |
|
|
83 | (230) |
|
Chapter 6 J2EE Web Applications and the Web Container |
|
|
85 | (26) |
|
J2EE Web Application Technologies |
|
|
85 | (2) |
|
|
85 | (1) |
|
|
86 | (1) |
|
Filters and Life-Cycle Listeners |
|
|
86 | (1) |
|
J2EE Web Application Characteristics |
|
|
87 | (2) |
|
|
88 | (1) |
|
|
89 | (5) |
|
|
90 | (4) |
|
Web Application Descriptors and Packaging |
|
|
94 | (8) |
|
Web Deployment Descriptors |
|
|
94 | (7) |
|
Packaging Web Application in WAR Files |
|
|
101 | (1) |
|
|
102 | (7) |
|
Examining the Build Scripts |
|
|
102 | (3) |
|
Running the Build Process |
|
|
105 | (4) |
|
|
109 | (2) |
|
Chapter 7 JDBC as a Resource |
|
|
111 | (28) |
|
|
111 | (3) |
|
|
112 | (2) |
|
|
114 | (9) |
|
|
114 | (3) |
|
|
117 | (1) |
|
|
118 | (1) |
|
|
119 | (1) |
|
|
120 | (1) |
|
|
120 | (2) |
|
J2EE Connector Architecture |
|
|
122 | (1) |
|
|
123 | (1) |
|
|
123 | (15) |
|
Examining JDBC wsadmin Scripts |
|
|
123 | (9) |
|
Running the Build and Deployment Process |
|
|
132 | (6) |
|
|
138 | (1) |
|
Chapter 8 J2EE Connector Architecture |
|
|
139 | (18) |
|
|
140 | (3) |
|
|
141 | (1) |
|
|
142 | (1) |
|
J2C Common Client Interface |
|
|
143 | (1) |
|
|
143 | (12) |
|
WebSphere Relational Resource Adapter |
|
|
143 | (3) |
|
|
146 | (9) |
|
|
155 | (2) |
|
Chapter 9 Enterprise JavaBeans |
|
|
157 | (32) |
|
Introduction to Enterprise JavaBeans |
|
|
158 | (16) |
|
Enterprise JavaBean Types |
|
|
158 | (2) |
|
Enterprise JavaBean Elements |
|
|
160 | (14) |
|
Enterprise JavaBean Deployment with WAS |
|
|
174 | (13) |
|
Enterprise JavaBean Module |
|
|
185 | (1) |
|
Build and Deployment Analysis |
|
|
185 | (2) |
|
|
187 | (2) |
|
Chapter 10 CMP and Advanced EJB Settings |
|
|
189 | (34) |
|
|
189 | (6) |
|
|
190 | (1) |
|
Container Managed Relationships |
|
|
191 | (3) |
|
EJB Query Language (EJB-QL) |
|
|
194 | (1) |
|
WebSphere Persistence Architecture |
|
|
195 | (1) |
|
|
196 | (12) |
|
Configuring the Bean Cache |
|
|
196 | (2) |
|
Configuring Entity Bean Cache Options |
|
|
198 | (5) |
|
Configuring EJB Data Cache |
|
|
203 | (3) |
|
Distributed Cache Synchronization |
|
|
206 | (2) |
|
Dealing with Isolation Levels in CMP |
|
|
208 | (6) |
|
|
208 | (5) |
|
|
213 | (1) |
|
|
214 | (3) |
|
So Why Does the Deployer Care? |
|
|
217 | (1) |
|
|
218 | (3) |
|
|
221 | (2) |
|
Chapter 11 Transactions with WebSphere Application Server |
|
|
223 | (22) |
|
Introduction to Transactions |
|
|
223 | (5) |
|
|
224 | (1) |
|
|
224 | (1) |
|
|
225 | (3) |
|
J2EE Applications and Transactions |
|
|
228 | (6) |
|
|
228 | (1) |
|
|
229 | (5) |
|
WebSphere Application Server Transaction Manager |
|
|
234 | (5) |
|
WebSphere Transactional Enhancements |
|
|
235 | (4) |
|
Distributed Transaction Failure Recovery |
|
|
239 | (2) |
|
Advanced Recovery Considerations |
|
|
240 | (1) |
|
|
241 | (2) |
|
Transaction Troubleshooting |
|
|
243 | (1) |
|
|
244 | (1) |
|
Chapter 12 JMS and Message Driven Beans |
|
|
245 | (38) |
|
Understanding JMS and Message Driven Beans |
|
|
245 | (7) |
|
|
246 | (2) |
|
|
248 | (3) |
|
Transactional Behavior in JMS |
|
|
251 | (1) |
|
JMS in WebSphere Application Server |
|
|
252 | (20) |
|
|
252 | (13) |
|
|
265 | (3) |
|
Message Driven Bean Configuration |
|
|
268 | (3) |
|
|
271 | (1) |
|
|
272 | (10) |
|
Defining JMS Configuration with wsadmin |
|
|
273 | (7) |
|
Run the Build Deployment Process |
|
|
280 | (2) |
|
|
282 | (1) |
|
Chapter 13 Other Resources |
|
|
283 | (12) |
|
|
283 | (4) |
|
URL Resources and Properties Files |
|
|
285 | (1) |
|
Creating a URL Resource with wsadmin |
|
|
286 | (1) |
|
|
287 | (6) |
|
|
288 | (3) |
|
|
291 | (1) |
|
Creating a Mail Session with wsadmin |
|
|
291 | (2) |
|
|
293 | (2) |
|
Chapter 14 Client Applications |
|
|
295 | (18) |
|
What Is a "Client Application?" |
|
|
296 | (3) |
|
Types of WAS-Supported Client Applications |
|
|
296 | (1) |
|
Client Application Examples |
|
|
297 | (2) |
|
WAS Application Clients CD |
|
|
299 | (2) |
|
|
301 | (8) |
|
|
302 | (3) |
|
J2EE Clients and Resources |
|
|
305 | (3) |
|
|
308 | (1) |
|
|
309 | (1) |
|
|
310 | (1) |
|
|
310 | (1) |
|
|
311 | (1) |
|
|
311 | (2) |
|
Part III Managing WebSphere Appllcation Server Infrastructure |
|
|
313 | (106) |
|
Chapter 15 Advanced Considerations for Build |
|
|
315 | (14) |
|
|
315 | (11) |
|
Understanding J2EE Packaging |
|
|
316 | (5) |
|
|
321 | (3) |
|
|
324 | (2) |
|
Verification in Large Development Environments |
|
|
326 | (2) |
|
|
328 | (1) |
|
Chapter 16 Ideal Development and Testing Environments |
|
|
329 | (14) |
|
Ideal Development Environments |
|
|
329 | (2) |
|
|
331 | (8) |
|
|
331 | (2) |
|
Development Integration Runtime |
|
|
333 | (2) |
|
|
335 | (1) |
|
|
336 | (2) |
|
|
338 | (1) |
|
|
339 | (1) |
|
|
339 | (1) |
|
|
339 | (1) |
|
|
339 | (1) |
|
|
340 | (1) |
|
|
340 | (1) |
|
|
340 | (2) |
|
|
340 | (1) |
|
|
340 | (1) |
|
|
341 | (1) |
|
Development Integration Test |
|
|
341 | (1) |
|
|
342 | (1) |
|
Chapter 17 JMX in WebSphere Application Server |
|
|
343 | (18) |
|
|
343 | (2) |
|
|
344 | (1) |
|
|
344 | (1) |
|
Distributed Services Layer |
|
|
345 | (1) |
|
JMX in WebSphere Application Server |
|
|
345 | (4) |
|
WAS MBeans via the MBeanInspector |
|
|
346 | (1) |
|
|
347 | (2) |
|
Writing Java Clients to Access MBeans |
|
|
349 | (1) |
|
|
349 | (11) |
|
|
354 | (5) |
|
JMX in WAS-Network Deployment |
|
|
359 | (1) |
|
|
360 | (1) |
|
|
360 | (1) |
|
|
361 | (34) |
|
|
361 | (2) |
|
|
362 | (1) |
|
|
363 | (1) |
|
WAS Security Architecture |
|
|
363 | (11) |
|
|
363 | (4) |
|
|
367 | (1) |
|
Advanced Considerations for Security Configuration |
|
|
368 | (6) |
|
|
374 | (20) |
|
Total System View---The Details Matter |
|
|
375 | (2) |
|
Infrastructure-Based Preventative Measures |
|
|
377 | (10) |
|
Application-Based Preventative Measures---Configuration |
|
|
387 | (3) |
|
Application-Based Preventative Measures---Design/Implementation |
|
|
390 | (4) |
|
|
394 | (1) |
|
|
394 | (1) |
|
Chapter 19 WebSphere Caching |
|
|
395 | (24) |
|
|
396 | (1) |
|
Caching Implications on Performance |
|
|
397 | (1) |
|
|
397 | (5) |
|
|
397 | (2) |
|
|
399 | (1) |
|
|
399 | (1) |
|
WAS Plug-In Static Caching |
|
|
400 | (2) |
|
|
402 | (10) |
|
|
404 | (2) |
|
|
406 | (6) |
|
|
412 | (2) |
|
|
414 | (2) |
|
|
414 | (1) |
|
|
414 | (1) |
|
|
415 | (1) |
|
|
416 | (1) |
|
Data Replication Service (DRS) |
|
|
416 | (1) |
|
Troubleshooting Caching Problems |
|
|
417 | (1) |
|
|
417 | (2) |
|
Part IV WebSphere Application Server Network Deployment |
|
|
419 | (108) |
|
Chapter 20 WAS Network Deployment Architecture |
|
|
421 | (24) |
|
WebSphere Architecture Terms |
|
|
421 | (1) |
|
|
421 | (1) |
|
|
421 | (1) |
|
|
422 | (1) |
|
|
422 | (1) |
|
|
422 | (1) |
|
|
422 | (4) |
|
|
422 | (1) |
|
|
423 | (1) |
|
|
424 | (1) |
|
|
424 | (1) |
|
|
424 | (2) |
|
|
426 | (1) |
|
|
426 | (1) |
|
|
426 | (1) |
|
|
426 | (1) |
|
|
426 | (3) |
|
|
426 | (3) |
|
|
429 | (4) |
|
Persistent Namespace Bindings |
|
|
431 | (2) |
|
Distributed Replication Service |
|
|
433 | (11) |
|
|
433 | (1) |
|
|
434 | (3) |
|
|
437 | (7) |
|
|
444 | (1) |
|
Chapter 21 WAS Network Deployment Clustering |
|
|
445 | (30) |
|
WebSphere Clustering Architecture |
|
|
445 | (10) |
|
|
445 | (1) |
|
|
446 | (1) |
|
|
446 | (3) |
|
|
449 | (4) |
|
|
453 | (2) |
|
Creating WebSphere Application Server-ND Clusters |
|
|
455 | (2) |
|
Application Installation and Maintenance |
|
|
457 | (5) |
|
Application Deployment Considerations |
|
|
457 | (2) |
|
|
459 | (1) |
|
|
460 | (2) |
|
Hardware Clustering and WAS-ND |
|
|
462 | (2) |
|
|
464 | (1) |
|
|
464 | (1) |
|
|
464 | (1) |
|
|
464 | (1) |
|
WAS-ND Administrative Runtime |
|
|
464 | (6) |
|
Node Agent High Availability |
|
|
465 | (1) |
|
Deployment Manager High Availability |
|
|
465 | (5) |
|
|
470 | (3) |
|
More Cells Increase Availability |
|
|
472 | (1) |
|
|
473 | (2) |
|
Chapter 22 Session Management |
|
|
475 | (24) |
|
Introduction to HTTP Session |
|
|
475 | (1) |
|
|
476 | (3) |
|
|
476 | (1) |
|
|
477 | (1) |
|
|
478 | (1) |
|
|
479 | (1) |
|
WAS Session Management Configuration |
|
|
480 | (18) |
|
Local and Distributed Session Options |
|
|
480 | (3) |
|
|
483 | (8) |
|
Session Tuning and Troubleshooting |
|
|
491 | (7) |
|
|
498 | (1) |
|
Chapter 23 WebSphere Edge Components |
|
|
499 | (28) |
|
|
500 | (1) |
|
|
501 | (9) |
|
|
501 | (5) |
|
|
506 | (4) |
|
WebSphere Edge Components Review |
|
|
510 | (3) |
|
|
510 | (2) |
|
|
512 | (1) |
|
WebSphere Edge Components Implementation |
|
|
513 | (11) |
|
|
513 | (11) |
|
Topology Patterns on the Edge |
|
|
524 | (1) |
|
|
525 | (2) |
|
Part V Problem Determination and Server Tools |
|
|
527 | (66) |
|
Chapter 24 Problem Determination |
|
|
529 | (36) |
|
Problem-Solving First Steps |
|
|
529 | (10) |
|
|
529 | (2) |
|
|
531 | (1) |
|
|
532 | (4) |
|
|
536 | (1) |
|
HTTP Server Problem Determination |
|
|
537 | (2) |
|
Elsewhere Around the Infrastructure |
|
|
539 | (1) |
|
WAS General Problem Detemination |
|
|
539 | (6) |
|
|
540 | (2) |
|
|
542 | (3) |
|
Active WAS Problem Determination |
|
|
545 | (2) |
|
WebSphere Support and Related Utilities |
|
|
545 | (2) |
|
|
547 | (2) |
|
|
547 | (1) |
|
|
548 | (1) |
|
Problem Determination Tools |
|
|
549 | (15) |
|
|
549 | (11) |
|
|
560 | (4) |
|
|
564 | (1) |
|
|
564 | (1) |
|
Chapter 25 Performance Tuning Tools |
|
|
565 | (28) |
|
WAS Performance Monitoring Infrastructure |
|
|
565 | (4) |
|
|
567 | (2) |
|
WebSphere-Supplied PMI Clients |
|
|
569 | (6) |
|
Performance Monitoring Servlet |
|
|
569 | (2) |
|
Tivoli Performance Viewer |
|
|
571 | (2) |
|
|
573 | (2) |
|
|
575 | (4) |
|
Runtime Performance Advisor |
|
|
577 | (2) |
|
|
579 | (1) |
|
WebSphere Thread Analyzer |
|
|
579 | (1) |
|
|
580 | (2) |
|
Performance Tuning in Practice |
|
|
582 | (7) |
|
Step 1 Construct a Throughput Curve |
|
|
583 | (1) |
|
Step 2 Test with the Performance Advisor |
|
|
584 | (1) |
|
Step 3 Validating the TPV Suggested Changes |
|
|
585 | (1) |
|
Step 4 Drill Down into Problem Components |
|
|
586 | (1) |
|
Step 5 Tune the Runtime or Change the Application |
|
|
587 | (1) |
|
Step 6 Repeat as Required |
|
|
588 | (1) |
|
Other Performance-Tuning Scenarios |
|
|
589 | (1) |
|
|
589 | (1) |
|
|
590 | (1) |
|
|
590 | (1) |
|
|
590 | (1) |
|
|
591 | (1) |
|
|
591 | (2) |
|
|
593 | (72) |
|
Appendix A ANT with WebSphere Application Server |
|
|
595 | (34) |
|
|
595 | (3) |
|
WebSphere Application Server ANT Tasks |
|
|
598 | (1) |
|
|
599 | (1) |
|
|
600 | (3) |
|
|
603 | (4) |
|
|
607 | (7) |
|
|
614 | (4) |
|
|
618 | (9) |
|
|
627 | (2) |
|
Appendix B Deployment Checklist |
|
|
629 | (4) |
|
|
629 | (1) |
|
|
630 | (1) |
|
|
630 | (1) |
|
|
631 | (1) |
|
|
631 | (2) |
|
Appendix C Setup Instructions for Samples |
|
|
633 | (8) |
|
Getting Products and Samples |
|
|
633 | (1) |
|
|
634 | (1) |
|
WebSphere Application Server |
|
|
634 | (1) |
|
Application Server Toolkit |
|
|
635 | (1) |
|
WebSphere Studio Application Developer |
|
|
635 | (1) |
|
|
636 | (1) |
|
|
636 | (1) |
|
|
637 | (1) |
|
Extracting WASDeploy Book.zip |
|
|
637 | (1) |
|
Setting Up WSTRADE Database |
|
|
637 | (1) |
|
Viewing Source Code and Model Scripts in WebSphere Studio/ASTK |
|
|
637 | (2) |
|
|
639 | (2) |
|
Appendix D Web Services Gateway Clustering |
|
|
641 | (24) |
|
Web Services Gateway Overview |
|
|
641 | (2) |
|
Web Services Gateway and Channel Installation |
|
|
643 | (4) |
|
Web Services Gateway and Channel Configuration |
|
|
647 | (3) |
|
Web Services Gateway Configuration Cloning |
|
|
650 | (1) |
|
HTTP Server Plug-In Configuration |
|
|
650 | (13) |
|
|
663 | (2) |
References |
|
665 | (4) |
Index |
|
669 | |