Data Access Patterns: Database Interactions in Object-Oriented Applications (Software Patterns Series)
  • Data Access Patterns: Database Interactions in Object-Oriented Applications (Software Patterns Series)
  • Data Access Patterns: Database Interactions in Object-Oriented Applications (Software Patterns Series)

Data Access Patterns: Database Interactions in Object-Oriented Applications (Software Patterns Series)

by Clifton Nock
     
 

25 proven patterns for improving data access and application performance Efficient, high-quality data access code is crucial to the performance and usability of virtually any enterprise application--and there's no better way to improve an existing system than to optimize its data access code. Regardless of database engine, platform, language, or application,… See more details below

Overview

25 proven patterns for improving data access and application performance Efficient, high-quality data access code is crucial to the performance and usability of virtually any enterprise application--and there's no better way to improve an existing system than to optimize its data access code. Regardless of database engine, platform, language, or application, developers repeatedly encounter the same relational database access challenges. In Data Access Patterns, Clifton Nock identifies 25 proven solutions, presenting each one in the form of a clear, easy-to-use pattern.

These patterns solve an exceptionally wide range of problems including creating efficient database-independent applications, hiding obscure database semantics from users, speeding database resource initialization, simplifying development and maintenance, improving support for concurrency and transactions, and eliminating data access bottlenecks.

Every pattern is illustrated with fully commented Java/JDBC code examples, as well as UML diagrams representing interfaces, classes, and relationships. The patterns are organized into five categories:

  • Decoupling Patterns: Build cleaner, more reliable systems by decoupling data access code from other application logic
  • Resource Patterns: Manage relational database resources more efficiently
  • Input/Output Patterns: Simplify I/O operations by translating consistently between "physical" relational data and domain object representations of that data
  • Cache Patterns: Use caching strategically, to optimize the tradeoffs between data access optimization and cache overhead
  • Concurrency Patterns: Implement concurrency and transactions more effectively and reliably

Data Access Patterns demystifies techniques that have traditionally been used only in the most robust data access solutions--making those techniques practical for every software developer, architect, and designer.

Read More

Product Details

ISBN-13:
9780131401570
Publisher:
Addison-Wesley
Publication date:
09/15/2003
Series:
Software Patterns Series
Edition description:
New Edition
Pages:
469
Product dimensions:
7.12(w) x 9.62(h) x 1.22(d)

Table of Contents

Preface
Acknowledgments
Introduction
Pt. 1Decoupling Patterns1
Data Accessor9
Active Domain Object33
Object/Relational Map53
Layers75
Pt. 2Resource Patterns95
Resource Decorator103
Resource Pool117
Resource Timer137
Resource Descriptor159
Retryer171
Pt. 3Input and Output Patterns185
Selection Factory191
Domain Object Factory203
Update Factory215
Domain Object Assembler227
Paging Iterator253
Pt. 4Cache Patterns267
Cache Accessor271
Demand Cache281
Primed Cache291
Cache Search Sequence305
Cache Collector325
Cache Replicator345
Cache Statistics361
Pt. 5Concurrency Patterns371
Transaction379
Optimistic Lock395
Pessimistic Lock405
Compensating Transaction417
Afterword431
Glossary433
Bibliography441
Index445

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >