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.

Share:
12,381
bdeveloper01
Author by

bdeveloper01

Hi! I am a Software Engineer. Thanks

Updated on June 14, 2022

Comments

  • bdeveloper01
    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
    bdeveloper01 about 12 years
    Thanks 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
    maialithar about 12 years
    check the second link I've given, it's about MongoDB wrapper for Play!2.0 - vznet.github.com/mongo-jackson-mapper