Pro Hibernate and MongoDB

  • 4h 18m
  • Anghel Leonard
  • Apress
  • 2013

Hibernate and MongoDB are a powerful combination of open source persistence and NoSQL technologies for today's Java-based enterprise and cloud application developers. Hibernate is the leading open source Java-based persistence, object relational management engine, recently repositioned as an object grid management engine. MongoDB is a growing, popular open source NoSQL framework, especially popular among cloud application and big data developers. With these two, enterprise and cloud developers have a "complete out of the box" solution.

Pro Hibernate and MongoDB shows you how to use and integrate Hibernate and MongoDB. More specifically, this book guides you through the bootstrap; building transactions; handling queries and query entities; and mappings. Then, this book explores the principles and techniques for taking these application principles to the cloud, using the OpenShift Platform as a Service (PaaS) and more.

In this book, you get two case studies:

  • An enterprise application using Hibernate and MongoDB. then,
  • A cloud application (OpenShip) migrated from the enterprise application case study

After reading or using this book, you come away with the experience from two case studies that give you possible frameworks or templates that you can apply to your own specific application or cloud application building context.

What you’ll learn

  • How to use and integrate Hibernate and MongoDB to be your "complete out of the box" solution for database driven enterprise and cloud applications
  • How to bootstrap; run in supported environments; do transactions; handle queries and query entities; and mappings
  • How to build an enterprise application case study using Hibernate and MongoDB
  • What are the principles and techniques for taking applications to the Cloud, using the OpenShift Platform as a Service (PaaS) and more
  • How to build a cloud-based app or application (OpenShip)

Who this book is for

This book is for experienced Java, enterprise Java programmers who may have some experience with Hibernate and/or MongoDB.

About the Author

Anghel Leonard is a senior Java developer with more than 12 years of experience in Java SE, Java EE, and related frameworks. He wrote and published more than 30 articles about Java technologies and more than 200 tips and tricks for JavaBoutique, O’Reilly, DevX, Developer and InformIT. In addition, he wrote two books about XML and Java (one for beginners and one for advanced developers) for Albastra, a Romanian publisher, and three books for Packt: Jboss Tools 3 Developer Guide, JSF 2.0 Cookbook and JSF 2.0 Cookbook LITE. Currently, he's developing web applications using the latest Java technologies on the market (EJB 3.0, CDI, Spring, JSF, Struts, Hibernate and so on). In the past two years, he's focused on developing rich Internet applications for geographic information systems.

In this Book

  • Getting Started with Hibernate OGM
  • Hibernate OGM and MongoDB
  • Bootstrapping Hibernate OGM
  • Hibernate OGM at Work
  • Hibernate OGM and JPA 2.0 Annotations
  • Hibernate OGM Querying MongoDB
  • MongoDB e-Commerce Database Model
  • MongoDB e-Commerce Database Querying
  • Migrate MongoDB Database to Cloud
  • Migrating RafaEShop Application on OpenShift