It’s been a long time since “Hibernate: A Developer’s Notebook” came out. In terms of Hibernate’s evolution, it’s been an era or two. Things were changing so fast back then that the code examples ran into trouble very quickly. I wanted to put together an update, but other issues in life and work kept intervening, and the best I was able to do for a while was an online PDF that made the introductory chapters work better with Hibernate 3.
We’ve updated all the content from the Notebook that was still relevant, and added a bunch more. Tim contributed great information about working with Apache Maven and the Spring framework, and Ryan added interesting ways to integrate with Stripes. The Hibernate Tools for Eclipse have their own chapter now too. It’s grown some heft, while remaining a great way to come up to speed quickly.
And despite the increased page count, I don’t dread being quickly overtaken by a flurry of incompatible changes this time. Hibernate is at a much more mature stage in its own development, which will help a lot. But we’ve also leveraged the Ant Tasks for Maven to do most of the work of downloading and organizing the many libraries needed to work with Hibernate in our examples. This means not only that there is less busy-work for readers who want to play with Hibernate and the example programs, but also that the examples will continue to work even if Hibernate changes, because they’ll always be able to find the version of Hibernate they expect.
So we hope that people coming to Hibernate today can benefit from an even smoother learning experience.