Pro Hibernate And Mongodb

E-Book Overview

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.

<em>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.


E-Book Content

For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Author���������������������������������������������������������������������������������������������������������������xiii About the Technical Reviewer�������������������������������������������������������������������������������������������� xv Acknowledgments������������������������������������������������������������������������������������������������������������ xvii Introduction����������������������������������������������������������������������������������������������������������������������� xix ■■Chapter 1: Getting Started with Hibernate OGM����������������������������������������������������������������1 ■■Chapter 2: Hibernate OGM and MongoDB������������������������������������������������������������������������23 ■■Chapter 3: Bootstrapping Hibernate OGM������������������������������������������������������������������������37 ■■Chapter 4: Hibernate OGM at Work����������������������������������������������������������������������������������51 ■■Chapter 5: Hibernate OGM and JPA 2.0 Annotations�����������������������������������������������������121 ■■Chapter 6: Hibernate OGM Querying MongoDB��������������������������������������������������������������205 ■■Chapter 7: MongoDB e-Commerce Database Model������������������������������������������������������241 ■■Chapter 8: MongoDB e-Commerce Database Querying�������������������������������������������������269 ■■Chapter 9: Migrate MongoDB Database to Cloud����������������������������������������������������������283 ■■Chapter 10: Migrating RafaEShop Application on OpenShift�����������������������������������������297 Index���������������������������������������������������������������������������������������������������������������������������������355 v Introduction This book covers all the important aspects of developing Hibernate OGM-MongoDB applications. It provides clear instructions for getting the most out of the Hibernate OGM-MongoDB duo and offers many examples of integrating Hibernate OGM by means of both the Hibernate Native API and the Java Persistence API. You will learn how to develop desktop, web, and enterprise applications for the most popular web and enterprise servers, such as Tomcat, JBoss AS, and Glassfish AS. You’ll see how to
You might also like

Introduction To Algorithms
Authors: Thomas H. Cormen , Charles E. Leiserson , Ronald L. Rivest , Clifford Stein    156    0


Algorithms And Complexity
Authors: Herbert S. Wilf    100    0


Introduction To Information Theory And Data Compression
Authors: D.C. Hankerson , Greg A. Harris , Peter D. Johnson Jr.    121    0


Digital Image Processing: Piks Scientific Inside
Authors: William K. Pratt    123    0


современный фортран
Authors: Бартеньев О.    190    0


Algorithms For Computational Linguistics
Authors: Striegnitz K. , et al.    140    0


Linear Programming: Theory And Extensions
Authors: George B. Dantzig , Mukund N. Thapa    137    0


Optimization Theory And Methods: Nonlinear Programming
Authors: Wenyu Sun , Ya-Xiang Yuan    144    0



Adobe Photoshop 7.0 Classroom In A Book
Authors: Adobe Creative Team    79    0