A detailed exploration of the basic patterns underlying today's component infrastructures.The latest addition to this best-selling series opens by providing an "Alexandrian-style" pattern language covering the patterns underlying EJB, COM+ and CCM. It addresses not only the underlying building blocks, but also how they interact and why they are used. The second part of the book provides more detail about how these building blocks are employed in EJB. In the final section the authors fully explore the benefits of building a system based on components.* Examples demonstrate how the 3 main component infrastructures EJB, CCM and COM+ compare* Provides a mix of principles and concrete examples with detailed UML diagrams and extensive source code* Forewords supplied by industry leaders: Clemens Syzperski and Frank Buschmann
Author(s): Markus Volter
Edition: 1
Year: 2002
Language: English
Pages: 488
Server Component Patterns......Page 4
Contents......Page 8
Preface......Page 14
Foreword by Frank Buschmann......Page 24
Foreword by Clemens Szyperski......Page 28
What is a component?......Page 30
Patterns and pattern languages......Page 34
Principles for component architectures......Page 41
Components: a silver bullet?......Page 53
Part I A Server Component Patterns Language......Page 56
Language map......Page 57
Sequences through the language......Page 58
A conversation......Page 60
1 Core Infrastructure Elements......Page 66
Component......Page 67
Container......Page 72
Service Component......Page 77
Entity Component......Page 81
Session Component......Page 85
Summary......Page 88
2 Component Implementation Building Blocks......Page 92
Component Interface......Page 93
Component Implementation......Page 99
Implementation Restrictions......Page 104
Lifecycle Callback......Page 108
Annotations......Page 112
Summary......Page 116
3 Container Implementation Basics......Page 120
Virtual Instance......Page 121
Instance Pooling......Page 124
Passivation......Page 129
Component Proxy......Page 133
Glue-Code Layer......Page 137
Summary......Page 140
4 A Component and its Environment......Page 144
Component Context......Page 146
Naming......Page 150
Component-Local Naming Context......Page 154
Managed Resource......Page 157
Pluggable Resources......Page 162
Configuration Parameters......Page 165
Required Interfaces......Page 168
Summary......Page 170
5 Identifying and Managing Instances......Page 176
Component Home......Page 177
Primary Key......Page 182
Handle......Page 186
Summary......Page 189
6 Remote Access to Components......Page 196
Component Bus......Page 198
Invocation Context......Page 203
Client-Side Proxy......Page 207
Client Library......Page 211
Client Reference Cooperation......Page 214
Summary......Page 217
7 More Container Implementation......Page 220
System Errors......Page 221
Component Introspection......Page 225
Implementation Plug-In......Page 228
Summary......Page 231
8 Component Deployment......Page 232
Component Installation......Page 233
Component Package......Page 237
Assembly Package......Page 240
Application Server......Page 243
Summary......Page 246
Part II The Patterns Illustrated with EJB......Page 248
9 EJB Core Infrastructure Elements......Page 250
Component......Page 251
Container......Page 252
Persistence......Page 253
Transactions......Page 254
Other features......Page 255
Service Component......Page 256
Message-Driven Beans......Page 258
What is an Entity Bean?......Page 260
The technical perspective......Page 261
Session Component......Page 268
10 EJB Component Implementation Building Blocks......Page 272
Component Interface......Page 273
Component Implementation......Page 283
Implementation Restrictions......Page 287
Lifecycle Callback......Page 291
Annotations......Page 311
11 EJB Container Implementation Basics......Page 318
Virtual Instance......Page 319
Instance Pooling......Page 320
Passivation......Page 326
Component Proxy......Page 330
Glue-Code Layer......Page 333
12 A Bean and its Environment......Page 336
Component Context......Page 337
Naming......Page 344
Component-Local Naming Context......Page 348
Managed Resource......Page 350
Pluggable Resources......Page 357
Configuration Parameters......Page 361
Required Interfaces......Page 362
13 Identifying and Managing Bean Instances......Page 366
Component Home......Page 367
Primary Key......Page 377
Handle......Page 382
14 Remote Access to Beans......Page 386
Component Bus......Page 387
Invocation Context......Page 394
Client-Side Proxy......Page 396
Client Library......Page 398
Client Reference Cooperation......Page 400
15 More EJB Container Implementation......Page 402
System Errors......Page 403
Component Introspection......Page 409
Implementation Plug-In......Page 411
16 Bean Deployment......Page 414
Component Installation......Page 415
Component Packaging......Page 417
Assembly Package......Page 419
Application Server......Page 421
Part III A Story......Page 422
Literature and Online Resources......Page 472
Glossary......Page 482
Index......Page 487