Java Database Best Practices

Overview

When creating complex Java enterprise applications, do you spend a lot of time thumbing through a myriad of books and other resources searching for what you hope will be the API that's right for the project at hand?Java Database Best Practices rescues you from having to wade through books on each of the various APIs before figuring out which method to use! This comprehensive guide introduces each of the dominant APIs (Enterprise JavaBeans, Java Data Objects, the Java Database Connectivity API (JDBC) as well as ...

See more details below
Paperback (New Edition)
$29.56
BN.com price
(Save 26%)$39.95 List Price
Other sellers (Paperback)
  • All (19) from $1.99   
  • New (7) from $16.54   
  • Used (12) from $1.99   
Java Database Best Practices

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99
BN.com price
(Save 43%)$31.99 List Price

Overview

When creating complex Java enterprise applications, do you spend a lot of time thumbing through a myriad of books and other resources searching for what you hope will be the API that's right for the project at hand?Java Database Best Practices rescues you from having to wade through books on each of the various APIs before figuring out which method to use! This comprehensive guide introduces each of the dominant APIs (Enterprise JavaBeans, Java Data Objects, the Java Database Connectivity API (JDBC) as well as other, lesser-known options), explores the methodology and design components that use those APIs, and then offers practices most appropriate for different types and makes of databases, as well as different types of applications.Java Database Practices also examines database design, from table and database architecture to normalization, and offers a number of best practices for handling these tasks as well. Learn how to move through the various forms of normalization, understand when to denormalize, and even get detailed instructions on optimizing your SQL queries to make the best use of your database structure. Through it all, this book focuses on practical application of these techniques, giving you information that can immediately be applied to your own enterprise projects.Enterprise applications in today's world are about data— whether it be information about a product to buy, a user's credit card information, or the color that a customer prefers for their auto purchases. And just as data has grown in importance, the task of accessing that data has grown in complexity. Until now, you have been left on your own to determine which model best suits your application, and how best to use your chosen API. Java Database Practices is the one stop reference book to help you determine what's appropriate for your specific project at hand. Whether it's choosing between an alphabet soup of APIs and technologies—EJB, JDO, JDBC, SQL, RDBMS, OODBMS, and more on the horizon, this book is an indispensable resource you can't do without.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Java developers have an immense number of options for database access. Often, the toughest job is figuring out which approach to take. In Java Database Best Practices, George Reese systematically compares and reviews EJB, JDO, JDBC, serialization, and other Java persistence options. You’ll understand the issues involved, how these options complement each other -- and how to design and code robust solutions with them.

Reese first reviews data architecture, including component and persistence models, transaction management, and more. There’s an excellent overview of architecting relational databases to support today’s applications while supporting growth and change. Reese reviews modeling, normalization and denormalization, and object-relational mapping, illustrating with many SQL examples.

Part II drills down into Java persistence frameworks, beginning with chapters on Container Managed Persistence (CMP) in both EJB 1.0 and the dramatically improved EJB 2.0. There’s a full chapter on EJB Bean-Managed Persistence, in which the bean programmer takes responsibility for managing persistence, possibly to support a specific database structure or data destination.

Reese then turns to JDO, Sun’s technology for transparently persisting plain Java objects in multiple tiers of an enterprise architecture. As he demonstrates, JDO allows for development of persistent applications with very light footprints -- applications that still preserve object relationships in the data store.

Part III of the book presents practical coding introductions to creating data access solutions that incorporate J2EE, JNDI, JSP, RMI, EJB, SQL, JDBC, and JDO. This may not be everything you’ll ever need to know. (Java Database Best Practices is only 286 pages long.) But it’s certainly everything you need to get rolling. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780596005221
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/21/2003
  • Edition description: New Edition
  • Edition number: 1
  • Pages: 288
  • Product dimensions: 7.06 (w) x 9.30 (h) x 0.72 (d)

Meet the Author

George Reese has taken an unusual path into business software development. After earning a B.A. in philosophy from Bates College in Lewiston, Maine, George went off to Hollywood where he worked on television shows such as "The People's Court" and ESPN's "Up Close". The L.A. riots convinced him to return to Maine where he finally became involved with software development and the Internet. George has since specialized in the development of Internet-oriented Java enterprise systems and the strategic role of technology in business processes. He is the author of Database Programming with JDBC and Java, 2nd Edition and the world's first JDBC driver, the mSQL-JDBC driver for mSQL. He currently lives in Minneapolis, Minnesota with his wife Monique and three cats, Misty, Gypsy, and Tia. He makes a living as the National Practice Director of Technology Strategy for digital@jwt in Minneapolis.

Read More Show Less

Table of Contents

Dedication;
Preface;
Audience;
Organization of This Book;
Conventions Used in This Book;
Comments and Questions;
About the Philosophers;
Acknowledgments;
Data Architecture;
Chapter 1: Elements of Database Applications;
1.1 Database Application Architectures;
1.2 Component Models;
1.3 Persistence Models;
Chapter 2: Relational Data Architecture;
2.1 Relational Concepts;
2.2 Modeling;
2.3 Normalization;
2.4 Denormalization;
2.5 Object-Relational Mapping;
Chapter 3: Transaction Management;
3.1 Transactions;
3.2 Concurrency;
3.3 JDBC Transaction Management;
3.4 Transaction Management Paradigms;
Persistence Models;
Chapter 4: Persistence Fundamentals;
4.1 Patterns of Persistence;
4.2 A Guest Book Application;
Chapter 5: EJB CMP;
5.1 Which CMP Model to Use?;
5.2 The EJB 1.0 CMP Model;
5.3 The EJB 2.0 CMP Model;
5.4 Beyond CMP;
Chapter 6: EJB BMP;
6.1 EJBs Revisited;
6.2 BMP Patterns;
6.3 State Management;
6.4 Exception Handling;
Chapter 7: JDO Persistence;
7.1 JDO or EJB?;
7.2 Basic JDO Persistence;
7.3 EJB BMP with JDO;
Chapter 8: Alternative Persistence Frameworks;
8.1 Why Alternative Frameworks?;
8.2 Persistence Approach;
8.3 Persistence Operations;
8.4 Searches;
8.5 Beyond the Basics;
Tutorials;
Chapter 9: J2EE Basics;
9.1 The Platform;
9.2 Java Naming and Directory Interface;
9.3 JavaServer Pages;
9.4 Remote Method Invocation;
9.5 Enterprise JavaBeans;
Chapter 10: SQL;
10.1 Background;
10.2 Database Creation;
10.3 Table Management;
10.4 Data Management;
Chapter 11: JDBC;
11.1 Architecture;
11.2 Simple Database Access;
11.3 Advanced JDBC;
Chapter 12: JDO;
12.1 Architecture;
12.2 Enhancement;
12.3 Queries;
12.4 Changes;
12.5 Transactions;
12.6 Inheritance;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)