Pro Hibernate and MongoDB

By Anghel Leonard

Pro Hibernate and MongoDB shows you how to use and integrate Hibernate and MongoDB together as a complete out of the box persistence and database application solution. More specifically, this book guides you through bootstrap, queries and mappings for an enterprise application and then migrating to the Cloud.

Full Description

  • ISBN13: 978-1-4302-5794-3
  • 384 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: July 9, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

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.

Table of Contents

Table of Contents

PART 1 Hibernate OGM (Object/Grid Mapper) and MongoDB Fundamentals for Enterprise and Cloud Applications

1. Getting Started With Hibernate OGM

2. Hibernate OGM and MongoDB

3. Bootstrapping Hibernate OGM

4. Hibernate OGM at Work

5. Hibernate OGM and JPA 2.0 Annotations

6. Hibernate OGM Querying MongoDB

PART 2 Developing a Hibernate OGM/MongoDB Complete Example

7. MongoDB e-Commerce Database Model

8. MongoDB e-Commerce Database Querying

PART 3 Running MongoDB and Hibernate OGM in Cloud (PaaS)

9. Migrate MongoDB Database to Cloud

10. Migrate RafaEShop to OpenShift

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published