mongodb database with Java play 2.0
12,381
Solution 1
check this demo on github. https://github.com/czihong/playMongoDemo
I use morphia to connect play 2.o and mongodb.
Solution 2
Check mongodb database with scala play 2.0 tutorial and this discussion. Unfortunately, there is no official tutorial at the moment.
Comments
-
bdeveloper01 almost 2 years
Is there a tutorial how I can use mongodb database with Java play 2.0?
On the official website (playframework.org) there seems to be only the NoSql example.
-
bdeveloper01 about 12 yearsThanks for your information. This information is used to only scala project. But My Project is Java project. So i need mongo db connection Model.
-
maialithar about 12 yearscheck the second link I've given, it's about MongoDB wrapper for Play!2.0 - vznet.github.com/mongo-jackson-mapper