GeeCON 2011: Hibernate OGM
Emmanuel Bernard After graduating from Supelec (French "Grande Ecole"), Emmanuel has spent a few years in the retail industry as developer and architect where he started to be involved in the ORM space. He joined the Hibernate team in 2003 and is now a platform architect at JBoss, by Red Hat. Emmanuel is the lead developer of Hibernate Annotations and Hibernate EntityManager, two key projects on top of Hibernate Core implementing the Java Persistence(tm) specification. He also has founded and leads Hibernate Search and Hibernate Validator. Emmanuel is a member of the JPA 2.0 expert group and the spec lead of JSR 303: Bean Validation. He is a regular speaker at various conferences and JUGs, including JavaOne, JBoss World and Devoxx and the co-author of Hibernate Search in Action published by Manning. Hibernate OGM: JPA on Infinispan: when PaaS persistence meets Java EE PaaS (Platform as a Service) is all the buzz these days. But how and where do you store your data is the real challenge. In a data grid to benefit from its scalability? Via a new proprietary API? JBoss users of our enterprise middleware systems are accustomed to easy persistence via Hibernate and JPA (Java Persistence API). What if Hibernate could store your data in a grid? Hibernate Object/Grid Mapper (OGM) aims at offering a JPA front end (object manipulation and JP-QL query) to applications while storing and querying the data from a key/value grid like Infinispan. In other words, offering a familiar and well known API but benefiting from the new scalability possibilities of distributed data grids like Infinispan. That includes trying to support existing applications using JPA. In this presentation, we will see how JBoss is leveraging its existing technology to build an OGM (Object/Grid Mapper). Hibernate Core (JPA), Hibernate Search (object search engine), Teiid (query federation engine) and of course Infinispan (distributed data grid) are the foundation to this adventure. We will cover in details how the various bricks fit together, what the secret sauce is and how to use the solution in your applications.