xii Contents Chapter 17 Choosing the Right Granularity (Bulletproof web design)
xii Contents Chapter 17 Choosing the Right Granularity for Entity Beans 453 Persistence Tips and Tricks 454 Beware the Object-Relational Impedance Mismatch 454 Hard-Coded versus Soft-Coded SQL 454 When to Use Stored Procedures 455 Normalizing and Denormalizing 457 Use Your EJB Object Model to Drive Your Data Model 459 Follow a Good Data Design Process 459 Use Surrogate Keys 460 Understand the Impacts of Database Updates 461 Versioning EJB Components 461 Living with a Legacy Database Design 463 Handling Large Result Sets 474 Summary 475 EJB Integration 477 Why Does Integration Matter? 477 Integration Styles 478 EJB and Integration 479 J2EE Connector Architecture 480 Why J2EE Connectors? 480 Resource Adapter Interaction with J2EE Components 483 Resource Adapter Interaction with Application Server 484 The J2EE Connector API 486 The javax.resource Package 486 The javax.resource.cci Package 487 The javax.resource.spi Package 490 The javax.resource.spi.endpoint Package 492 The javax.resource.spi.security Package 493 The javax.resource.spi.work Package 493 System Contracts 494 Lifecycle Management 494 Connection Management 495 Security Management 498 Transaction Management 501 Work Management 504 Message In-flow 506 Connector Example: OutboundLoanRA 508 Example Architecture 508 JavaLoanApp.java 509 LoanApp.dll 510 OutboundLoanRA 511 LoanRatesEJB 535 LoanRatesClient 538 Running the Client 539 Extending OutboundLoanRA 541
Our Colorado hosting facilities are located in Little Rock, Colorado. Colorado web hosting datacenter which we have is linked on five major US backbones which gives you assurance that your site will be online 24/7 a day. More details you can find out in Web Hosting Colorado part.