|
|
Hibernate Developers Notebook_ En
Reviewed by: FabrizioGianneschi Hibernate is an Open Source framework that provides a great and powerful solution to the problem of Java objects persistence. Typically, Java applications objects are mapped into the tables of relational databases; because of that, solutions such as Hibernate are more commonly called Object-Relational (O/R) Mappers. The book is part of the O’Reilly’s new line dedicated to emergent technologies, the Developer’s Notebook series. It has a unusual friendly aspect and without doubt less “serious” of other titles previously seen. All, obviously, without to renounce to the quality of its contents. The graphical style makes the pages similar to those of a notebook, intentionally similar to that ones used in technology laboratories. A lot of margin notes are present, written with a by hand free style, helping to fix major concepts in a better way and to quick signal important passages to the reader. As an example, bulleted lists are present in the beginning of every chapter in order to shortly list the arguments that will be dealed. The schema is repetitive, but generally good: each argument is clearly identified by an enough obvious title and introduced with adequate motivations (“Why do I care?” sections); after that, it is analyzed and resolved with appropriate sample code (“How Can I do that?”). Finally, the next arguments are introduced (“What about..”), to stimulate the reader. I liked that. In order to focus the introduced concepts, the author proposes a single example (a collection of CD music tracks) developed by way during the book. In order to compile and to test all the stuff, he uses only Open Source tools like Ant and the simple Hypersonic (HSQLDB) database, even if Hibernate supports also more robust databases like Oracle, SQLServer and many others. Regarding the contents, as mentioned before the overall quality is very good. Hibernate: A Developer's Notebook is a strongly technical book, very focused on the O/R Mapping problem since the first pages. Having personally worked enough on that, but not knowing Hibernate before, I have faced therefore the book with some questions and a very precise idea of various aspects, curious to see how they would have been resolved by the framework. I have had the answers that I was looking on: speaking about the framework, there’re just no doubts; at the moment, Hibernate is the de facto standard for the Java persistence, despite other technologies such as JDO and EJB. The author makes always small steps, from simplest things to more complex ones. As an example, he starts talking about the problem of the persistence of simple objects, then he passes to the associations (handling) between the objects themselves, handles more difficult associations again and finally introduces the HQL language (an SQL variant introduced by Hibernate, not too complex). From his words, it’s clear that James Elliott’s heart was conquered from Hibernate and he’s fully convinced of its power. A bit like me, now. Good:
References:
|