Do you enjoy writing software, except for the database code? Developer's Notebook is for you. Database experts may enjoy fiddling with SQL, but you don't have to--the rest of the application is the fun part. And even database experts dread the tedious plumbing and typographical spaghetti needed to put their SQL into a Java program. A Developers Notebook shows you how to use Hibernate to automate you write natural Java objects and some simple configuration files, and Hibernate automates all the interaction between your objects and the database. You don't even need to know the database is there, and you can change from one database to another simply by changing a few statements in a configuration file. A Developer's Notebook walks you through the ins and outs of using Hibernate, from installation and configuration, to complex associations and composite types. Two chapters explore ways to write sophisticated queries, which you can express either through a pure Java API, or with an SQL-inspired, but object-oriented, query language. Don't let that intimidate you one of the biggest surprises in working with Hibernate is that for many of the common real-world application scenarios, you don't need an explicit query at all. If you've needed to add a database backend to your application, don't put it off. It's much more fun than it used to be, and A Developer's Notebook shows you why. Here's what a few reviewers had to "I'm sitting on an airplane after finishing A Developer's Notebook . It's rare to find a book on a new Java technology that you can get through on a domestic flight. That this notebook effectively and succinctly tackles object-relational mapping makes it, and Hibernate, even more impressive. Many books in this category would need to be checked luggage. With this book, you travel first class." --Mike Clark "A simple persistence framework deserves a simple book, and this one delivers. The examples are well described and easy to understand, yet sophisticated enough to demonstrate Hibernate in a real-world context. Jim, I'm a new fan." --Bruce Tate About the new Developer's Notebook Series from O' Developer's Notebooks are a new book series covering important new tools for software developers. Developer's Notebooks stress example over explanation and practice over theory. They are about learning by doing; by experimenting with tools and discovering what works. "All lab, no lecture," with a thoughtful lab partner to guide the way.
James Elliott is a Canadian journalist and author with a keen and abiding interest in early North American history. With the Hamilton Spectator he wrote widely on the War of 1812 on subjects ranging from the Bloody Assizes to the Burlington Races. He worked on several episodes of the CBCs Gemini Award winning Canada: A Peoples History both as a consultant and a special-skills extra. He is the author of the critically acclaimed If Ponies Rode Men, which should have been made into a major motion picture. James Elliott lives in Hamilton, Ontario, with his wife, Irene, four miles from the Stoney Creek battlefield."
I love the developer's notebook series, it really shows how to use the technologies/tools in a practical way (as you would in most real world projects). This book really gave me an insight into how to use Hibernate, and as Hibernate is pretty much the defacto ORM choise, I would really recommend this book to anybody who is interested to learn and use Hibernate.