You know what is MongoDB and what is Spring Framework and want to use the first inside the second? Here's short plain and simple integration between the two: Properties file with server and database details (resides in classpath in this example):db.host=localhostdb.port=27017app.db.name=appIf you don't use Java-based container configuration (you should start using it!):application-config.xml (or w
![Plain Simple MongoDB Spring Integration - DZone](https://cdn-ak-scissors.b.st-hatena.com/image/square/ffed9915caacc4a16ba9bb373e90c4577c495d81/height=288;version=1;width=512/https%3A%2F%2Fdzone.com%2Fthemes%2Fdz20%2Fimages%2FArticleImg_7.jpg)