Programming Books C Java PHP Python Learn more Browse Programming Books
  • List Price: $49.99
  • Save: $6.04 (12%)
In Stock.
Ships from and sold by
Gift-wrap available.
Database Programming with... has been added to your Cart
Condition: Used: Good
Comment: Standard used condition. Thousands of books shipped daily!
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Database Programming with JDBC & Java (Java (O'Reilly)) Paperback – August 31, 2000

ISBN-13: 063-6920926160 ISBN-10: 1565926161 Edition: Second Edition

Buy New
Price: $43.95
29 New from $12.35 42 Used from $0.01 1 Collectible from $9.96
Amazon Price New from Used from
"Please retry"
$12.35 $0.01
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Hero Quick Promo
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now
$43.95 FREE Shipping. In Stock. Ships from and sold by Gift-wrap available.

Frequently Bought Together

Database Programming with JDBC & Java (Java (O'Reilly)) + Java Database Best Practices + JDBC¿ API Tutorial and Reference (3rd Edition)
Price for all three: $124.44

Buy the selected items together

Editorial Reviews Review

The Java Database Connectivity classes (JDBC) sensibly provide an interface between a platform-independent programming language (Java) and a standardized database language (Structured Query Language, or SQL). Pretty much every Java program that's involved in transactions or other business operations connects to a database through JDBC; so, familiarity with the JDBC classes can magnify your other Java skills. Database Programming with JDBC and Java explains how JDBC fits into unitized software applications in which various functional parts communicate over a network. Author George Reese also shows how to write programs that take advantage of the JDBC classes, emphasizing the most commonly used ones (such as those that perform INSERT and SELECT operations), but giving also the more obscure classes their due.

This book is essentially an ongoing lecture of increasing complexity. To cite one thread, it begins with clear but academic examples that involve discrete transactions (opening a connection, performing a query, and closing the connection). It then moves on to connection pooling and other JDBC-supported optimizations for the real world. A menagerie of specialized sections on such topics as security and persistence rely heavily on long code examples. A section on Swing programming seems kind of out of place, but it's short. In sum, this slim volume is a great introduction to JDBC for those who are looking to approach Java distributed applications by way of database work.

Punk music fans, however, will object to the misidentification of the Sex Pistols' classic album Never Mind the Bollocks, Here's the Sex Pistols. It's actually Never Mind the Bullocks, Here Come the Sex Pistols. Rotten fact-checking, obviously. --David Wall

Topics covered: The Java Database Connectivity (JDBC) classes, with emphasis on how JDBC code fits into distributed applications (so-called enterprise applications) that use Enterprise JavaBeans (EJBs) and Remote Method Invocation (RMI). Java Naming and Directory Interface (JNDI), serialization, persistence, security, and (especially) application design receive plenty of attention. Fully a quarter of this book is a reference (including statements of syntax and brief descriptions) to the JDBC Core API and the JDBC Optional Package classes.

From Library Journal

O'Reilly books are rarely for neophytes, but advanced users swear by them, and these will be no exception. Englander covers a hot Java subtopic for students, programmers, and professionals already familar with Java and object-oriented programming. He discusses events, event adapters, properties, persistence, java archive files, the BeanBox tool, property editors, ActiveX, and the java.beans Package. Flanagan's work is the book Java programmers want nearby when they are at the keyboard. A complete ready-reference work, this belongs in all collections supporting programmers. Java is a constantly changing language so Nutshell will be coming out often with new editions; always have the newest one on hand. Reese goes beyond simple applet design to relational databases, SQL, object-oriented database applications, application servers, and remote object manipulation. The examples used throughout the book are based on a banking application designed in Java.
Copyright 1997 Reed Business Information, Inc. --This text refers to an out of print or unavailable edition of this title.

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Series: Java (O'Reilly)
  • Paperback: 350 pages
  • Publisher: O'Reilly Media; Second Edition edition (August 31, 2000)
  • Language: English
  • ISBN-10: 1565926161
  • ISBN-13: 978-1565926165
  • Product Dimensions: 7 x 0.8 x 9.2 inches
  • Shipping Weight: 1.6 ounces (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (46 customer reviews)
  • Amazon Best Sellers Rank: #259,727 in Books (See Top 100 in Books)

More About the Author

I am the CTO of enStratus Networks (, the leading cloud infrastructure management vendor for enterprise clouds. Based in Minneapolis, MN, I co-founded enStratus as a spin-off from a company in the middle of moving into the cloud, Valtira. I was the primary architect of the enStratus software as well as the Open Source cloud abstraction API for Java, Dasein Cloud (

My professional career began in Hollywood working on TV shows like the People's Court and ESPN Up Close, but my "Internet Career" started in 1991 developing Open Source online gaming software, specifically the Nightmare and Dead Souls mud libraries. I got involved with Java in 1995 and wrote my first book, Database Programming with JDBC and Java in 1996.

Customer Reviews

The second part of the book was called "Applied JDBC".
Brent Ayers
It quickly drifts into something of a rambling however as the author attempts to cover too much ground in too short a span.
Michael T. Lambert
Anyway, I think that Sun's JDBC Tutorial and Reference is a much better book.
El Barto

Most Helpful Customer Reviews

29 of 30 people found the following review helpful By A Customer on September 12, 2000
Format: Paperback
The author does a good job of covering new concepts as relevant to Java 2 platform and JDBC 2.0. This book is vastly revamped and is better than the first edition.
Though the author rightly says in the preface that this may not be the book for the beginners, I feel it may not be an ideal JDBC reference book either. The emphasis of this book is on how to build a robust middle tier that interacts with a relational database using JDBC.
Though several examples appear in the book, they could be categorized as relevant for developing a framework than useful for learning by example. Many books that cover EJB, Servlets and JSP now a days provide excellent stand-alone examples of using JDBC.
If you are looking for a book that gives sample "design patterns" for building a middle tier, then this one is for you. If you want to learn JDBC by example, this may not be the book you would want to buy.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
19 of 20 people found the following review helpful By John Taylor on September 12, 1997
Format: Paperback
The best part of this book is in discussing the process of designing a distributed 3-tier application using Java. The writing is clear and elegant. Figures are impressive. Maybe JDBC itself does not have enough interesting content, the author spent much effort to explore the multiple tier computing model and RMI instead. So, the inside is not exactly what you expected from the book title. It should be, as Reese commented, Distributed 3-tier Client/Server with RMI and JDBC.
I think many people come to this book for detailed JDBC programming information. Anyone who programmed non-trivial JDBC would know that there are a lot bolts and nuts to tackle. To this effect, the book is quite thin. You should not expect this book to help you much in JDBC trouble-shootings. Nevertheless, it is a good guide to teach you design and deploy your JDBC programs on the Internet. As another comment said, I found this book a pleasant surprise, too.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 14 people found the following review helpful By A Customer on October 26, 1998
Format: Paperback
As many have noted, the title of this book is probably a misnomer. It does cover JDBC to a reasonable depth in a very well executed fashion, but it does not go in depth enough to be the standard reference on the subject. However, don't let this keep you from reading this book! It's a panacea for distributed application development, object persistence, and even a dash of design patterns. RMI and JDBC are the technologies used to illustrate the excellent thought process that went into this book, and it is much more valuable than any Teach Yourself JDBC in 21 Days sort of book will ever be. You may need a more complete reference book if you will be doing a lot of JDBC programming, but this book will teach you how JDBC is best used, which in the end is much more valuable.
Once you know what you are getting into, you will find that this book meets your needs rather well.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 13 people found the following review helpful By A Customer on June 29, 2000
Format: Paperback
Database Programming with JDBC and Java is first and foremost a book about database programming, and not necessarily with Java. The first three chapters are devoted to the fundamentals of database design and access, including several well elucidated design patterns that are fairly easy to implement in any language, though Reese doesn't let on as such (it helps to have prior exposure to other patterns, however; see Design Patterns: Elements of Reusable Object-Oriented Software, by the Gang of Four). He follows this with a chapter on JDBC (only one true chapter) and then a look into the best way to design database access programs with Java, the little JDBC you now know, and his patterns. The final chapter finishes off the case study used to carry the whole book by introducing RMI.
Overall, this is not a bad book. If you want an idea of how database programming works, especially with Java, this is a good read. If you're looking for information on JDBC, RMI, or Java database connectivity in general, don't look here. This book is best read by those understanding Java threads (in a cursory depth) and the AWT. It would make a good compliment to a book on Java distributed computing or JDBC.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
7 of 7 people found the following review helpful By Zane Parks on June 15, 2001
Format: Paperback
As an intoduction to JDBC, this is lightweight. About 100 pages are devoted to the JDBC. There is the obligatory API reference at the end that runs to about 90 pages. In between, there are about 120 page devoted to what the author calls "applied JDBC," which is devoted largely to three-tier architecture and transaction handling.
Part I covers SQL, JDBC and the JDBC optional package. There is a smattering of sample code and a moderately extended example of an SQL terminal monitor application. The code cries out for refactoring. For example, there is a sequence of roughly 20 lines of code that centers a value within a fixed length field, truncating or padding as appropriate. The same code appears for lables and column values. It should be pulled out into a separate method. Then there are silly things like using System.out and performing a flush instead of using System.err.
Part II begins with a brief discussion of JNDI, RMI and EJBs. It then delves into architecture and the development of transaction framework. While what's wanted is largely handled by a J2EE application server, the author's approach is: what if that wasn't available and we had to do it ourselves? There is an extensive collection of code here which again cries out for refactoring.
Part III is the JDBC API reference in standard O'Reilly form.
The book is disappointing. The JDBC itself is given short shrift and the author goes off on a tangent of questionable value. If a colleague asked me to look at code similar to what's presented here, I'd mark it up with a red pencil, hand it back and tell him/her to refactor. See Martin Fowler's book "Refactoring." There are numerous bad smells here, including duplicate code, long method and large class.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Database Programming with JDBC & Java (Java (O'Reilly))
This item: Database Programming with JDBC & Java (Java (O'Reilly))
Price: $49.99 $43.95
Ships from and sold by

What Other Items Do Customers Buy After Viewing This Item?