| By James McGovern | Article Rating: |
|
| May 1, 2001 12:00 AM EDT | Reads: |
12,502 |
Database Programming with JDBC and Java
by George Reese
Published by O'Reilly & Associates
Database Programming with JDBC and Java was originally published four years ago and is now in its second revision. Significantly improved over the first edition, the book is targeted toward those who want ideas on how database programming works with Java. This latest edition also covers advanced topics such as serialization, persistence, and security.
A growing trend popular with book publishers is to incorporate Javadoc printouts of the Java APIs into new books - even though you can download them for free. This practice allows publishers to command high prices for their books...and make them look larger. This book is no exception. It totals 330 pages, with about 217 pages of actual content. One third of this book is stuff you can get free.
In writing this review I compared the information in the book to the Sun JDBC tutorial. The title and the content definitely don't match. The book discusses the use of RMI (Remote Method Invocation), EJB (Enterprise JavaBeans) containers, and JNDI (Java Naming and Directory Interface). It opens with a brief overview of ANSI standard SQL, and is written primarily for developers who've never worked with a relational database before. The next chapters deal more with working with databases than with JDBC itself.
Chapters 3 and 4, which discuss JDBC briefly, cover typical programming scenarios such as working with stored procedures, batch processing, updatable result sets, and advanced data types. The JDBC 2.0 specification now recommends a standard way of dealing with connection pooling. In the past, individual developers addressed this mainly with reference to the application server you were deploying. Chapter 5 contains just six pages of text on the JDBC optional package that contains this functionality.
I thought Chapter 7, which covers architecture and design patterns, was good. Except for the same stereotypical example of how an applet and Swing use the model/view pattern, it provided some useful information.
If you're not familiar with design patterns, I recommend Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma et al. (Addison-Wesley).
Chapter 8, on distributed component models, covers security, transactions, lookup, searches, and entity relationships. The chapter contains some useful code examples for generating unique sequence numbers, generic facade (a type of pattern), and implementing collections. Chapter 9 is about persistence and provides solid examples of a framework that is very useful in high-throughput database applications.
Chapter 10 covers the design of a UI that interfaces with business objects. Today 99% of applications developed in Java use HTML for the interface. The examples in this chapter use Swing and don't address any concerns of developers whose interface is HTML. I did learn some tips about Swing from this chapter - they'd be useful in pursuing the Sun certification exam - but otherwise it didn't provide any insight into how to develop a typical Web application.
The book doesn't provide many opportunities to learn anything other than what you could figure out for yourself from the Sun JDBC tutorial and reference. The publisher, O'Reilly, is known for delivering high quality, but this book fails to live up to the standard I've come to expect as a buyer of their books. I recommend you save your money and buy a good J2EE book.
Published May 1, 2001 Reads 12,502
Copyright © 2001 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By James McGovern
James McGovern is an industry thought leader and the author of the bestselling book: A Practical Guide to Enterprise Architecture (Prentice Hall). He is working on two upcoming books entitled: Agile Enterprise Architecture and Enterprise SOA. He is employed as an Enterprise Architect for The Hartford Financial Services Group, Inc. He holds industry certifications from Microsoft, Cisco and Sun. He is member of the Java Community Process and of the Worldwide Institute of Software Architects.
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?


















