0

I've really enjoyed using Play framework 1.X on Google App Engine with Siena for data storing.

Now I'm looking into using Play framework 2.0 for a new project. As Play isn't ready for GAE I'm going to try out Heroku. What are my options if I want the simplicity of annotating my classes like with Siena and having them stored in some NoSQL database at Heroku? Can I use the built in data storage support in Play or are there any modules that support some NoSQL addon at Heroku?

Edit:

I want to use Play's Java API (not Scala).

Roy Solberg
  • 18,133
  • 12
  • 49
  • 76

2 Answers2

1

With Play 1.2.X you could use the "MongoLab" add-on to Heroku together with the Morphia Play module.

As for Play2, I would suggest checking out the "salat" plugin to access your MongoDB's. See https://github.com/zenexity/Zest for an example play2 app using salat. Good luck!

Zapodot
  • 462
  • 5
  • 10
0

If your models are not too specific to GAE, you can switch to postgres quite easily with Siena. It's one of its main purpose ;)

mandubian
  • 4,427
  • 1
  • 22
  • 15