13 of 13 people found the following review helpful:
5.0 out of 5 stars
Good for intermediate Java guy aspiring to be senior, June 9, 2003
This review is from: Java Database Best Practices (Paperback)
This book hit the sweet spot for me: I had some knowledge of PL/SQL and database concepts already, and would classify myself as an "intermediate" Java developer. I'm almost done with this book, and it has been not only a pleasure to read, but it has really solidified my knowledge of what is important in database design. In a large workgroup setting, there's a tendency to focus on what has been mandated as the database programming API, so I found the author's overview of all major persistence approaches nice, providing some food for thought. I would say the performance tips, which often appear as boxed "Best Practices" throughout the book, are a key good feature of the book. I really like the author's style, which is clear and pragmatic. In the fashion of the famous 80/20 rule, he points out when there are differences in ways of doing things that exist, but don't make *that* much difference. My last observation will sound trivial, but to me it was another thing to like: the book is compact, a little more than half an inch thick, which makes it easy to just take with you whenever there's a bit of predictable downtime (commuting, lunch, etc).
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
9 of 10 people found the following review helpful:
4.0 out of 5 stars
Points you in the right direction, June 9, 2003
This review is from: Java Database Best Practices (Paperback)
JDO or EJB? JDBC? BMP or CMP? EJB BMP with JDBC and JDO on a RDMS?
Have you ever been caught up in the alphabet soup of Java database programming APIs? Have you ever questioned which approach might be best suited for your particular application? Sure you pride yourself on your skills in crafting some pretty mean EJBs, but is that the best path to head down with your latest project? O'Reilly's new book "Java Database Best Practices" attempts to answer these questions and more.
For such a relatively thin book (267pp), it touches on a wealth of topics vital to the subject at hand. Reese lends his insights concerning database architectures, database design, transaction management, and persistence methods using JDBC, EJB, and JDO. While this isn't intended to be an introductory tome, you are also not expected to be proficient with all these APIs. As such, the latter third of the book contains tutorials on relevant J2EE APIs, JDBC, JDO, and SQL.
Reese does not exhaustively go into detail on every topic, each of which could probably warrant its own book. Rather he arms us with just enough information to make informed decisions about which method might best serve our applications. Aside from merely determining which set of APIs might be best suited in a given situation, Reese also points out several "best practices" to help guide us in design and implementation (for example, "use join tables to model many-to-many relationships").
I do have a couple of small complaints about the book. For one, "best practices" are highlighted throughout the text, but they are not enumerated or indexed in any manner. An enumerated list of these "best practices" would be welcome. Secondly, MVC purists will likely cringe at the JSP examples. While the architecture shown (JSPs as view and control, database access through taglibs) may be valid for small web applications, I don't feel it should be highlighted as a "best practice", particularly for enterprise applications. None of these complaints are major however, and do not overly detract from the value of the book.
"Java Database Best Practices" accomplishes what it sets out to do. This is a book that might be handy to have to pass around your development team in the design phase to get you all on the same page when making some critical choices. This book could also well serve those, such as managers perhaps, seeking a broad survey of Java database programming. I also feel that this book would make an excellent companion text for a college database programming course using Java. While "Java Database Best Practices" won't make you an expert with all of these APIs, it will certainly point you in the right direction.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
6 of 6 people found the following review helpful:
3.0 out of 5 stars
Mixed, September 17, 2004
This review is from: Java Database Best Practices (Paperback)
I have mixed feelings about this book. On one hand I really liked the discussion of persistence models using J2EE. It was a great tutorial on the various options a J2EE developer has when dealing with databases. On the other hand, I'm disappointed that there wasn't more lower level type discussions. I ended the book feeling as if the "best practice" in Java database development is to avoid direct database development altogether and let an application server deal with it for me.
I develop standalone client/server type database applications more than anything else. I very rarely touch an application server. And unfortunately, only 2 or 3 chapters in this book were useful to me. Everything else was application server specific.
If you're doing straight JDBC development, skip this book and go for a pure JDBC book, as you'll not really get anything new or useful here. If you develop web applications, this book is definitely right up your alley.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No