Morphia: Easy Java Persistence

Morphia: Easy Java Persistence

Scott Hernandez

October 03, 2011

Using Morphia as a data persistence bridge makes working with data in Java exceedingly easy with MongoDB. In this session we will take a look at... examples of how to customize persistence and common data access patterns like Morphia's Datastore and DAO abstractions. On the more advanced side of things we will discuss life-cycle methods and how to extend Morphia in your own application or framework; these techniques can also be used to help with data migration and schema changes when changing your Java domain objects (Entities).

Try MongoDB Atlas,
our new database as a service.

Now available on AWS, Azure, and GCP.