6

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.

3 Answers 3

11

check this demo on github. https://github.com/czihong/playMongoDemo

I use morphia to connect play 2.o and mongodb.

Sign up to request clarification or add additional context in comments.

Comments

2

Check mongodb database with scala play 2.0 tutorial and this discussion. Unfortunately, there is no official tutorial at the moment.

2 Comments

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

check this demo on github https://github.com/leodagdag/play2-morphia-plugin. This is not an official tutorial.this is a leodagdag.play2morphia.Model.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.