Newsletter sign-up
View all newsletters

Sign up for our technology specific newsletters.

Enterprise Java
Email Address:

JDBC and Java database programming books: A comparative review

Find out which of these 7 books make it through our wringer -- er, reviewer -- in one piece

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone
I've assembled quite a list of candidates in this topic area. The following seven books were available for review at the time of this writing:

  • Database Programming with JDBC and Java by George Reese (O'Reilly)
  • Java Database Programming by Brian Jepson (Wiley)
  • JDBC Database Access with Java: A Tutorial and Annotated Reference by Graham Hamilton, Rick Catell, and Maydene Fisher (Addison-Wesley)
  • Java Database Programming with JDBC (2nd ed) by Pratik Patel and Karl Moss (Coriolis)
  • SQL Database Programming with Java by Bill McCarty (Coriolis)
  • Teach Yourself Database Programming with JDBC in 21 Days by Ashton Hobbs (SAMS Net)
  • JDBC Developer's Resource: Database Programming on the Internet by Art Taylor (Prentice-Hall)


A table providing a bird's-eye view of each title's main characteristics is available.

Database Programming with JDBC and Java

Database Programming with JDBC and Java is the smallest and least expensive book in this month's line-up, but it aims higher than all the rest. In fact, a much more accurate title for this book would have been "Three-Tiered Distributed Java Database Application Development with JDBC and RMI." The bulk of the book revolves around a single, large, and complex example: A three-tiered banking application. Most authors pack their books with half a dozen medium-size examples for a better chance of satisfying more readers. George Reese gambles everything on his one, and unfortunately, his high-risk strategy will not pay off for most readers. The sheer complexity of the banking application, and the number of chapters it is spread across (most of the book), is such that most readers will find this book a struggle to exploit. Indeed, in terms of learning curve, this book resembles a steep mountain that leads to a high plateau. If you fail to follow the author up the mountain, you'll never see the plateau where all the real action is.

Available from
Computer Literacy



Concretely, the author employs state-of-the-art software techniques to put together his banking application, relying on a choreographed mix of modularity, cleverly deployed design patterns, strong decoupling, multithreading, transaction management, object locking and persistence, and distributed objects. Reese also explains all about JDBC, en passant. All this packed into a mere 167 pages. The remainder of the book (roughly 60 pages) is allocated to the index and a JDBC and RMI reference (although for RMI, there is only a partial reference). It goes without saying that with so little maneuvering room, explanations are kept brief. While an entire JDBC summary and tutorial can be compressed into a small space (simply because of JDBC's inherent simplicity), RMI's complexity requires more than the claustrophobic few pages Reese allows. Worse, the chronic lack of room seriously undermines the critical explanations behind the banking application's subtly interconnected sub-systems. A lot of the code is necessarily left unexplained while Reese concentrates on explaining the top-level essence of his featured application (the approach being very reminiscent of O'Reilly's original Java hit: Java in a Nutshell). Thankfully the code is of professional quality: thoroughly (and well) commented, consistently laid out, and readable.

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone
Comments (3)
Login
Forgot your account info?

I HAVE READ AD OF THIS ONBy cu quoc bao on October 2, 2009, 12:46 amI HAVE READ AD OF THIS ON INTERNET SO I DOWNLOAD IT

Reply | Read entire comment

jdbc By Anonymous on March 5, 2009, 1:57 amdeveloped java

Reply | Read entire comment

download bookBy shaluchauhan55555@yahoo.com on March 3, 2009, 11:52 pmJAVA AND JDBC

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a JavaWorld account? Log in here. Register now for a free account.
Resources
  • JavaSoft's official JDBC FAQ http://java.sun.com/products/jdbc/jdbc-frequent.html
  • JavaSoft's list of available JDBC drivers http://java.sun.com/products/jdbc/jdbc.drivers.html
  • JavaSoft's list of companies that support JDBC http://java.sun.com/products/jdbc/jdbc.vendors.html
  • A white paper on how to choose a JDBC driver http://www.weblogic.com/whitepapers/jdbc.html