wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes How does the book stand out ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How does the book stand out ?" Watch "How does the book stand out ?" New topic
Author

How does the book stand out ?

veerabahu Subramanian
Greenhorn

Joined: Jun 01, 2007
Posts: 17
Cameron,


Can you say us about the salient features in your book. I mean I like to know how the book stands out from
1. Java Persistence with Hibernate http://www.manning.com/bauer2/
2. The tutorial available @http://www.hibernate.org/hib_docs/v3/reference/en/html/index.html

TIA
Veeerbahu
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

One of the ways the book stands out is through its bright yellow, green and blue cover, but that's probably not what you meant.



Well, I should first say that I own a copy of Data Persistence with Hibernate (DPWH), and I refer to it often. DPWH is really the reference manual for Hibernate, and I think we're very lucky to have such a complete reference manual available to us. Similarly, the Caveat Emptor application that is referenced both on the website you list, and in the DPWH book, is an excellent example of a production type system.

But having said that, I think there's a real need for a book that provides very simple examples and explanations. For example, in my book, you can find very simple examples of one-to-one, one-to-many, many-to-many and inheritance mappings with a corresponding runnable class that will allow you to run and test these mappings without the need for a web, ejb or Spring container. That way people can test very simple examples, and then customize them for their own purposes. In my opinion, this is the best way to learn.

When I first started to learn Hibernate, I found it frustrating. I knew Hibernate could do some awesome things, but I just couldn't find a resource that helped me get up and running quickly, with some simple and straight forward examples that would help me understand how Hibernate worked, and what was going on behind the scenes. And from what I read from reviews on other books on Amazon, it seemed to me that I wasn't alone in my frustration. This book is really a response to that feeling. My goal is to get people up and running with Hibernate quickly, and help them leverage this great data persistence mechanism.

Furthermore, my book is very focussed in its content. While DPWH covers mappings and annotations, and a little bit of Spring, and even JBoss Seam, my book really just focuses on one objective, and that's teaching you how to use Hibernate. And it has been my experience that when people really, really understand how Hibernate works, and how it should be used, integrating Hibernate into Seam, JSF, Spring and any other application out there, integration becomes easy, because you really understand what is going on.

-Cameron McKenzie
[ June 03, 2008: Message edited by: Cameron Wallace McKenzie ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Also if you open the book really really wide, it will stand up. I say wide because you have to get past 180 degrees for the inside pages to be out.

the salient features

salient green is people!!!

Mark
[ June 03, 2008: Message edited by: Mark Spritzler ]

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
veerabahu Subramanian
Greenhorn

Joined: Jun 01, 2007
Posts: 17
Cameron,

Thanks for your patient explanation. As said, it's really needed to focus only on one than many. Since I am not an expert in any of the other like Spring, JBoss Seam so it will confuses more than making concept clear.

Thanks Again
Veerabahu
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How does the book stand out ?