• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Book for hibernate

 
S Ali
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear ranchers ,I want to learn hibernate and I want to know the best book to get me started .Also what plugins do I need to make a hibernate project on Eclipse .
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I know one book that I would highly recommend. Of course, I wrote it, so I might be biased.

Hibernate Made Easy is a great little read that will help you get started with Hibernate quickly. Harnessing Hibernate also gets good recommendations, and everyone should have a copy of Java Persistence with Hibernate (JPWH), as it is the reference tomb, although it's not the greatest book for learning from scratch.

Here's some more detail on which books I think are best for learning Hibernate.

Cameron McKenzie's Hibernate Book Recommendations

Hibernate is really just contained in a single jar file, and it links to about a dozen other jar files, all of which can be downloaded from hiberante.org. You don't need any plugins to work with Eclipse and Hibernate. All you need to do is download the required hibernate core jar files from the hibernate.org download page, and add them to your runtime and designtime classpath.

here's what you need in order to start working with Hibernate and JPA annotations:

  • A JDBC compliant Database. (and the ability to perform the most basic of database administration tasks.) You can't do Java persistence without a database!!!
    The JDK 1.5 or better, as annotations didn't exist before Java 5 (JDK 1.5 == Java 5. Why? Don't ask!)
    JDBC Drivers for your Database -that's how Hibernate connects to your database of choice
    The various jar files and libraries associated with the Hibernate Core and Hibernate Annotations (essentially, you need Hibernate)
    A properly configured hibernate.cfg.xml file on your runtime classpath.(Don't worry, we'll work on that together when the time comes)




  • Here's another tutorial of mine for getting started with Hibernate. Enjoy!

    How to get started with Hibernate


     
    Samanthi perera
    Ranch Hand
    Posts: 510
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This book is good.Can anyone please give book for Struts too.I am currently Referering Manning In Action, but it is too hard to understand.
     
    S Ali
    Ranch Hand
    Posts: 129
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Cameron , your tutorial about getting started is great
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic