#Spring Morphia
Spring Mophia provides a simple way to add to your project all the beans that configuration that your project will need to have everything setup with one annotation.
##How to use it
Add as dependency to your project and then Add the following annotation to start using it.
Add this annotation to your configuration class:
@Configuration
@EnableSpringMorphia
public class Application {
}
Having this annotation will define in your spring context all the necessary to use this library.
define the following properties in your app:
mongo.servers[0].name=server
mongo.servers[0].port=2701
mongo.database=testdb
mongo.username=testuser
mongo.password=testpassword
morphia.entityPackage=your.entity.package