java hosting


Title
Author
Publisher
ISBN
Reviewed by
Review text
Category

Your search returned 8 matching documents




Hibernate In Action
by Christian Bauer, Gavin King


Manning Publications
1 edition
August 2004
408 pages

Reviewed by Jason Menard, May 2005
  (9 of 10)


Data persistence is quite naturally at the heart of most enterprise applications. There are a myriad of choices the Java developer faces in choosing a persistence mechanism. JDBC and EJBs have long been the standard options, along with relative newcomer JDO, and various commercial Object/Relational Mapping (ORM) solutions. All of these have their place, but they also come with some baggage as well. Enter Hibernate, a popular open-source solution for ORM designed to meet some of the perceived shortcomings of the more traditional Java persistence mechanisms.

Manning's "Hibernate In Action", written by two members of the core Hibernate team (including the project's founder), takes the reader step-by-step through the process of getting up and running with Hibernate. The book begins with an introduction to issues involved in object / relational persistence. Naturally, Hibernate addresses each concern raised with this topic. Right from the beginning I couldn't help but get the feeling that the authors were trying to sell me something. The rest of the book however proceeds in typical Manning "In Action" style by diving into the nuts and bolts of what it takes to get up and running using Hibernate. An example application, an online auction application, is used throughout the book to illustrate the implementation of a Hibernate solution. The examples are clear and easy to follow, and serve adequately to prepare the reader to implement Hibernate in their own applications.

"Hibernate In Action" has to be considered the definitive tome on Hibernate. As the authors are intimately involved with the project, the insight on Hibernate that they provide can't be easily duplicated. That said, the authors' own, often controversial, opinions on common design practices (DTOs for example) are sprinkled liberally throughout the text, and this may turn off some readers. Still, if your project is going to be using hibernate or is considering using Hibernate, this book is a must-have.

Discuss book in the Saloon More info at Amazon.com




Hibernate: A J2EE Developer's Guide
by Will Iverson


Addison-Wesley Professional
1 edition
December 2004
384 pages

Reviewed by Thomas Paul, January 2005
  (7 of 10)


Hibernate is a popular object-relational mapping (ORM) system for Java programmers. As any Java programmer who has worked with a SQL database knows, trying to link Java objects to a relational database is not a trivial exercise. Hibernate simplifies the task by providing the functionality to generate Java classes and link seamlessly to a database.

The book starts with an introduction to Hibernate including some details on installation. The author looks at how Hibernate can generate a database schema or generate Java classes depending on where you are starting to build your application. XDoclet is discussed with the author pointing out some of the issues with using class annotation. Next, the author gives a good explanation of the details of Hibernate. The remaining chapters look at performance, caching, design issues and other advanced topics. Throughout the book there are many code samples that help to further explain the use of Hibernate.

Complaints... Although performance is discussed, the cost of using Hibernate on performance is not.

I would have liked to see some comparisons of Hibernate versus stored procedures, for example. Also, the weaknesses of an ORM are not discussed. Anyone who has worked with an ORM knows that at a certain level of complexity they start to fall apart and make an application overly complicated. It would have been nice for the author to discuss these issues and at least point towards solutions.

Overall, the book serves as a well-written and clearly explained basic introduction to Hibernate.

Discuss book in the Saloon More info at Amazon.com




Pro Hibernate 3
by Dave Minter, Leff Linwood


Apress
1 edition
June 2005
242 pages

Reviewed by Mark Spritzler, September 2005
  (8 of 10)


So you are starting off with Hibernate and you want a book to learn from. If you want the basics and get up an running pretty quickly, then this book works well for you. If you intend to do some complex stuff that is using more underneath tools of Hibernate, then this book might be too surface for you.

I enjoyed the book and recommend it as a beginner's book just starting off. I think the examples and writing style make it an easy to read and understand book. But I also think it stays to high level with Hibernate. Hibernate has an interesting learning curve. The basic simple mappings are easy, but once you get more relational and complex, then the learning curve steepens. I would have liked to have seen this book delve into the more "gotchas" that everyone learning Hibernate always fall into, but it doesn't.

Discuss book in the Saloon More info at Amazon.com



Apress
1 edition
June 2005
242 pages

Reviewed by Valentin Crettaz, August 2005
  (8 of 10)


The task of mapping objects to tables in a relational database (O/RM) has been the focus of many research projects as the O/RM problem domain is a very complex area that has long been short of efficient solutions. A host of vendors and open-source communities have tackled the O/RM problem and have come up with solutions, such as EJB, Toplink and JDO, which were either considered successful or inefficient depending on a wide range of subjective and objective point of views.

To the rescue comes the third release of the famous Hibernate framework, which is said to provide today's most elegant O/RM solution. I take as a proof the fact that the upcoming EJB 3.0 specification is heavily based on the design concepts underlying the Hibernate framework. The first part of this book focuses on presenting the basics of Hibernate 3 while the second part provides more detailed content that shows how to create mapping files, to query objects using HQL, SQL and the Criteria API, to use events, interceptors and filters, to manage sessions, etc. Minter and Linwood also explain how to fit Hibernate into an existing environment and how to upgrade from previous Hibernate releases.

In summary, intermediate and advanced Java developers who have good working knowledge of database management and who are in need of a powerful and cutting-edge O/RM solution will be very well served with this comprehensive, yet somewhat slim, APress reference.

Discuss book in the Saloon More info at Amazon.com



Apress
1 edition
June 2005
242 pages

Reviewed by Gregg Bolinger, July 2005
  (9 of 10)


I have several Apress "Pro Series" books and have yet to be disappointed. Pro Hibernate 3 is no exception. Dave Minter and Jeff Linwood do a superb job of getting the reader comfortable with the open source Object Relational Mapping tool, Hibernate.

Starting off with a simple example, the authors show you everything you need to create your first Hibernate application. From there you are shown more complex mappings, how to use the Session object, DAO pattern, Criteria API, well, you can read the TOC.

The book is very well written, clear, concise, and easy to read. The book is full of code and mapping examples that all work (yes, I tested them) with the exception of chapter 10 which points you to a download of the source. I have one complaint and that is between chapters 2 and 3 I felt I was flipping pages back and forth between the two chapters in order to get all the source code I needed for the example. Note also that the book lists required libraries for running Hibernate applications but seemed to miss one, asm.jar. So make sure you have that in your classpath if you are using the latest stable release of Hibernate.

If you are new to Hibernate or maybe you've used it minimally in the past, you'll find this book very informative and useful not only as a learning tool, but as a reference when you run into snags throughout the development of your applications.

Discuss book in the Saloon More info at Amazon.com




Hibernate Made Easy
by Cameron McKenzie


Self published
1 edition
2008
434 pages

Reviewed by Mark Spritzler, July 2008
  (9 of 10)


Hibernate is a subject dear to my heart. It is a database tool that I would not live without. However, it has a steep learning curve. In Hibernate Made Easy, author Cameron McKenzie does a great job in getting someone who is brand new to Hibernate, up and running quickly and understanding the basics of Hibernate to effectively take on its learning curve.

Keep in mind when reading this book, that in order to keep it simple, some alternative solutions are not discussed. This is a book to get you started. So it didn't mention that you can have Hibernate automatically search your classpath for @Entity classes, but used addAnnotatedClass() method calls. This is ok, and might be fixed by the time you buy the book.

Now, there are many pieces to the Hibernate puzzle and Cameron manages to pick the subjects that are the necessary building blocks to move on to the more advanced topics. If you are just learning Hibernate, I highly recommend this book to take you on the path of righteousness.

Discuss book in the Saloon More info at Amazon.com




Spring Persistence with Hibernate
by Ahmad Seddighi


Packt Publishing
1 edition
November 25, 2009
460 pages

Reviewed by Jeanne Boyarsky, January 2010
  (5 of 10)


Packt's "Spring Persistence with Hibernate" covers Spring 2.5. (Take care that you don't confuse it with the soon to be released Apress book with the same title which covers Spring 3.0.)

Packt really needs to work on their editing process. I play a game when reading called "what page for the first typo." The answer was page 3! (chapter vs chapters). I have read some Packt books of good quality, but unfortunately this wasn't one. The numerous typos included basic English, a typo in a code comment on page 364 and worst a typo in a code block on page 24. The later bothers me more as the technical content becomes suspect. As with most Packt books, the examples are longer than I would like and could omit getters/setters earlier.

There were a few cases where I had to go to the JavaDoc to understand distinctions between attribute values. The book text wasn't clear enough and didn't explain when one might want to choose those values. There was also some explanation of how to do something in Hibernate if not using Spring and Spring MVC. Good content, but a bit surprising given the title.

Now for some things I liked: cooks tour example with forward references, coverage of Hibernate and JPA APIs, explanations of IOC and AOP, introduction of DAOs with patterns.

Overall, I'd recommend you pick a different Spring 2.5 book or wait for the Spring 3 books to come out.

Disclosure: I received a copy of this book from the publisher in exchange for writing this review on behalf of JavaRanch.

Discuss book in the Saloon More info at Amazon.com




Spring Persistence with Hibernate (Beginning)
by Paul Tepper Fisher, Brian D. Murphy


Apress
1 edition
November 2010
264 pages

Reviewed by Jeanne Boyarsky, December 2010
  (7 of 10)



Apress' "Spring Persistence with Hibernate" covers Spring 3.0. (Take care that you don't confuse it with Packt's book with the same title which covers Spring 2.5)

The roadmap on the back cover implies you should have read "Beginning Spring" or "Beginning Hibernate." For an experienced developer, this isn't necessary. The key is that this book is fast moving so you should have some development background. It does cover beginner concepts - just faster.

The book goes beyond the title with bonus chapters on integration, Grails and Roo. It also covers the basic Spring MVC setup. I particularly liked the chapter with things to beware of including lazy loading and caching.

The only errors I caught were the case of @PostConstruct and @PreDestroy. They were consistenly wrong which makes me think it was edited after the authors last saw it. I also noticed a JUnit version mismatch while not wrong per se. Didn't affect readability though and the testing coverage was still good.

Overall, I was happy with the book.

---
Disclosure: I received a copy of this book from the publisher in exchange for writing this review on behalf of CodeRanch.

Discuss book in the Saloon More info at Amazon.com



Apress
1 edition
November 2010
264 pages

Reviewed by Christophe Verre, January 2011
  (8 of 10)


If you are looking for a book to learn about Spring and Hibernate, pass your way. If you are looking for a reference, pass your way. So who is this book for ? I think it is aimed at people who want to try a simple application using Spring3 and Hibernate 3.x (JPA2). It is fast paced, straight to the point. If you know what you are doing, it's a fun book. You'll start by setting your development environment (authors use Maven), configure Spring and Hibernate, make some domain classes, make some DAOs... Very fun. But don't expect to find answers if you're stuck somewhere.

There are some interesting explanations about persistence optimization like caching and lazy-loading, as well as a chapter about integration of frameworks like Dozer and Lucene. It also mentions REST and Spring MVC, and concludes with Grails and Spring Roo. These last two might be out of topic, but they have their own merit. I think they are worth reading.

I didn't notice many typos. Source snippets are neither too short nor too big. They illustrate well the explanation they are attached to. I already know about Spring3 and JPA2, but I never used Hibernate as my persistence provider. This book provided me a chance to try it. I felt it was not like any other technical books. Very enjoyable.

Discuss book in the Saloon More info at Amazon.com




Agile Java Development with Spring, Hibernate and Eclipse
by Anil Hemrajani


Sams
1 edition
May 2006
360 pages

Reviewed by Balaji Loganathan, February 2007
  (9 of 10)


Bought and read this book from Safari-O'Reilly online.

The title itself gets the mood on. This book will help you to understand and get started with Spring-Hibernate-Eclipse kind of projects.

This book is definitely a best shot for beginners in JEE.

Its not complete reference for every topics the author addresses, but will sure give you extended overview on XP, Agile etc.,

If you want to get started with your spring project immediately then this book is worth buying.

This book doesn't cover Spring AOP - Hmm.. Its a pity.

Its interesting to see the chapters that start with a discussion between programmers and client.

Getting the sample code up and running is also just a click of a Ant build button.

Configuring Eclipse/Spring/ANT have been covered in detail while many other key technologies were just started and finished on a single page.

The appendix were quite useful, like AMDD, XP cheatsheet

Most commonly used technologies in JEE were addressed, so you can get to know what JEE is all about.

Altogether i recommend this book for Beginners and Intermediates to get know the beautiful world of JEE.

Discuss book in the Saloon More info at Amazon.com




Java Open Source Programming: with XDoclet, JUnit, WebWork, Hibernate
by Joseph Walnes, Ara Abrahamian, Mike Cannon-Brookes, Patrick A. Lightbody


Wiley
1 edition
November 2003
480 pages

Reviewed by Thomas Paul, March 2004
  (6 of 10)


What a good book this might have been. It isn't awful but it could have been so much better. The premise of the book is to take the "Pet Store" and improve it by using several open source tools. The first part of the book discusses each of the tools with brief explanations and sample code. The second part takes us through the development process showing how to use the tools that were discussed earlier.

The good parts of the book are mostly in the second half. The authors apply each of the tools, explain test-driven development, demonstrate how and when to refactor code, etc. The integration of the different tools is made naturally so that it doesn't seem that the authors are trying to squeeze a tool in just to demonstrate it. The bad parts: this book desperately needs editing, both technical and for grammar. It is very distracting to see so much improper English usage including run on sentences, sentence fragments, and noun-verb disagreement. On the technical side, there are so many errors in the code that I doubt very much will actually compile, let alone run. Typical errors include methods declaring to return a value and not returning anything, closing files before they are used, and using variables that are not declared.

If you are interested in the technologies discussed and can debug the code in the book, there is a good amount of value. But it could have been so much better.

Discuss book in the Saloon More info at Amazon.com

 
The Bunkhouse administrator is Ankit Garg.