Bitter EJB / Bruce Tate ... [et al.].
Contributor(s): Tate, Bruce
.
Material type:
BookPublisher: Greenwich, CT : Manning, 2003Description: xxviii, 412 p. : ill. ; 24 cm. + pbk.ISBN: 1930110952.Other title: Bitter Enterprise JavaBeans.Subject(s): JavaBeans | Java (Computer program language)| Item type | Current library | Call number | Copy number | Status | Barcode | |
|---|---|---|---|---|---|---|
| General lending | MTU Bishopstown Library Lending | 005.71262 (Browse shelf(Opens below)) | 1 | Available | 00158955 |
Browsing MTU Bishopstown Library shelves, Shelving location: Lending Close shelf browser (Hides shelf browser)
|
|
|
|
|
|
|
|
||
| 005.71262 ProgramLive : master Java Programming in a dynamic, self-paced learning environment / | 005.71262 Java in two semesters / | 005.71262 Java in two semesters / | 005.71262 Bitter EJB / | 005.71262 Java in easy steps / | 005.71276 XML programming : Web applications and Web services with JSP and ASP / | 005.713 Understanding DCE / |
Enhanced descriptions from Syndetics:
Addressing the storming controversy of EJB head-on, this guide discusses framework problems and common traps that can snare unwary developers. Advice is provided for choosing persistence strategies beyond EJB entity beans and a list of several entity bean antipatterns. Also offered are session bean and messaging antipatterns and a compelling discussion about how and when to use problematic stateful session beans. Solutions to difficult problems such as effective builds and performance tuning are furnished. Designed for EJB developers, architects, programmers, and project managers, this authoritative reference attacks basic Java programming problems to establish antipatterns as a serious field for Java developers in a well-known context.
Includes bibliographical references (p. 401-402) and index.
Part 1: The basics -- Part 2: Sessions and messages -- Part 3: EJB persistence -- Part 4: Broader topics.
Table of contents provided by Syndetics
- Preface (p. xv)
- Acknowledgments (p. xviii)
- About this book (p. xxii)
- Part 1 The basics (p. 1)
- 1 Bitter choices (p. 3)
- 1.1 A storm of controversy (p. 5)
- 1.2 A history of EJB antipatterns (p. 6)
- 1.3 A case study: Benchmarking PetStore (p. 9)
- 1.4 Antipattern: The Golden Hammer (p. 12)
- 1.5 Summary: Looking ahead (p. 19)
- 1.6 Antipatterns in this chapter (p. 20)
- 2 The bitter cost (p. 21)
- 2.1 Sparking controversy (p. 22)
- 2.2 Antipattern: A Sledgehammer for a Fly (p. 30)
- 2.3 Entity beans are a horse of a different color (p. 41)
- 2.4 Entity beans: Take two (p. 43)
- 2.5 Entity beans--a closer look (p. 45)
- 2.6 Summary (p. 50)
- 2.7 Antipatterns in this chapter (p. 51)
- 3 Bitter interfaces (p. 52)
- 3.1 Building a good interface (p. 53)
- 3.2 Designing the application tier (p. 57)
- 3.3 Antipattern: Local & Remote Interfaces Simultaneously (p. 60)
- 3.4 Antipattern: Customers in the Kitchen (p. 66)
- 3.5 Antipattern: Custom DTOs (p. 73)
- 3.6 Summary (p. 77)
- 3.7 Antipatterns in this chapter (p. 78)
- Part 2 Sessions and messages (p. 81)
- 4 Bitter sessions (p. 83)
- 4.1 Threading and synchronization (p. 85)
- 4.2 Handling exceptions (p. 92)
- 4.3 Iterating large datasets (p. 99)
- 4.4 Interoperating efficiently (p. 111)
- 4.5 Summary (p. 120)
- 4.6 Antipatterns in this chapter (p. 121)
- 5 Bitter session states (p. 126)
- 5.1 Making a case for session state (p. 128)
- 5.2 A pivotal antipattern: Conversational Baggage (p. 129)
- 5.3 Managing sessions with stateful session beans (p. 134)
- 5.4 Managing sessions with servlets (p. 140)
- 5.5 Antipattern: Golden Hammers of Session State (p. 143)
- 5.6 Mini-antipattern: Stateful Session Beans as Shared Data Caches (p. 151)
- 5.7 Antipattern: Session Hodgepodge (p. 152)
- 5.8 Mini-antipattern: Session Thrashing (p. 155)
- 5.9 Mini-antipattern: Rotting Session Garbage (p. 155)
- 5.10 Summary: Taming the beast (p. 156)
- 5.11 Antipatterns in this chapter (p. 157)
- 6 Bitter messages (p. 162)
- 6.1 A brief overview of JMS (p. 163)
- 6.2 An early antipattern: Fat Messages (p. 165)
- 6.3 Mini-antipattern: Skinny Messages (p. 169)
- 6.4 Seeds of an order processing system (p. 171)
- 6.5 Antipattern: XML as the Silver Bullet (p. 177)
- 6.6 Antipattern: Packrat (p. 179)
- 6.7 Mini-antipattern: Immediate Reply Requested (p. 182)
- 6.8 Using message-driven beans (MDBs) (p. 184)
- 6.9 Antipattern: Monolithic Consumer (p. 188)
- 6.10 Antipattern: Hot Potato (p. 191)
- 6.11 Antipattern: Slow Eater (p. 194)
- 6.12 Antipattern: Eavesdropping (p. 195)
- 6.13 Antipattern: Performance Afterthoughts (p. 199)
- 6.14 Summary: Getting the message (p. 201)
- 6.15 Antipatterns in this chapter (p. 202)
- Part 3 EJB persistence (p. 211)
- 7 Bitter entities (p. 213)
- 7.1 Understanding entity bean antipatterns (p. 214)
- 7.2 Antipattern: Face Off (p. 215)
- 7.3 Antipattern: Ham Sandwich; Hold the Ham (p. 222)
- 7.4 Antipattern: Application Joins (p. 228)
- 7.5 Antipattern: Application Filters (p. 230)
- 7.6 Antipattern: Rusty Keys (p. 233)
- 7.7 Antipattern: Revolving Doors (p. 235)
- 7.8 Summary (p. 239)
- 7.9 Antipatterns in this chapter (p. 240)
- 8 Bitter alternatives (p. 245)
- 8.1 Understanding entity bean alternatives (p. 246)
- 8.2 Using EJB persistence (p. 249)
- 8.3 Simplify with JDBC (p. 260)
- 8.4 Using object persistence frameworks (p. 267)
- 8.5 Antipattern: Persistent Problems (p. 275)
- 8.6 Solution: Do not "inherit" a persistence architecture--choose it (p. 282)
- 8.7 Summary (p. 283)
- 8.8 Antipatterns in this chapter (p. 284)
- Part 4 Broader topics (p. 285)
- 9 Bitter tunes (p. 287)
- 9.1 Measures of success (p. 289)
- 9.2 Antipattern: Premature Optimization (p. 291)
- 9.3 Antipattern: Performance Afterthoughts (p. 296)
- 9.4 Grist for the tuning mill (p. 298)
- 9.5 Antipattern: Thrash-tuning (p. 303)
- 9.6 Mini-antipattern: Manual Performance Testing (p. 305)
- 9.7 Automated performance testing with JUnitPerf (p. 307)
- 9.8 Modeling performance (p. 315)
- 9.9 Mini-antipattern: Stage Fright (p. 317)
- 9.10 Summary: Tuning with confidence (p. 318)
- 9.11 Antipatterns in this chapter (p. 319)
- 10 Bitter builds (p. 324)
- 10.1 Wrapping big packages without bows (p. 326)
- 10.2 Antipattern: System Loaded Application Classes (p. 332)
- 10.3 Antipattern: EJB Code Duplication (p. 332)
- 10.4 Antipattern: Build Guru (p. 337)
- 10.5 Antipattern: Running with Scissors (p. 339)
- 10.6 Antipattern: Integration Hell (p. 341)
- 10.7 Summary (p. 342)
- 10.8 Antipatterns in this chapter (p. 343)
- 11 A bittersweet future (p. 348)
- 11.1 Marking our place in history (p. 349)
- 11.2 Plotting the next moves (p. 351)
- 11.3 Antipatterns and next moves (p. 355)
- A Bitter tales (p. 356)
- A.1 A Java development free fall (p. 357)
- Antipatterns in life (p. 359)
- A.2 Using design patterns accentuates the positive (p. 360)
- Design patterns online (p. 361)
- UML provides a language for patterns (p. 362)
- A.3 Antipatterns teach from the negative (p. 362)
- Some well-known antipatterns (p. 363)
- Antipatterns in practice (p. 364)
- Antipattern resources (p. 365)
- A.4 Antipattern ideas are not new (p. 366)
- Learning from the industry (p. 367)
- Detective work (p. 368)
- Refactoring antipatterns (p. 370)
- A.5 Why Bitter Java? (p. 370)
- The Bitter Java approach (p. 371)
- Bitter Java tools (p. 371)
- The Bitter Java organization (p. 372)
- The Bitter Java audience (p. 373)
- A.6 Looking ahead (p. 374)
- B Bitter basics (p. 376)
- B.1 Developing in the EJB architecture (p. 378)
- Getting acquainted with the cast, the bean triad (p. 378)
- Know your host, the EJB container (p. 381)
- B.2 Crafting enterprise beans (p. 384)
- Defining the client interfaces (p. 385)
- Implementing the business logic (p. 390)
- Playing it safe with transactions (p. 397)
- Configuring the bean (p. 397)
- Packaging it (p. 399)
- Invoking your beans from a client (p. 400)
- Bibliography (p. 401)
- Index (p. 403)
Author notes provided by Syndetics
Bruce Tate is a consultant and frequent conference speakerMike Clark, president of Clarkware Consulting
Bob Lee is an independent consultant and open source developer
Patrick Linskey is the VP Engineering for SolarMetric