From Siena on GAE using Play framework 1.X to which database/api/module on Heroku using Play 2.0?

377 Views Asked by At

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).

2

There are 2 best solutions below

0
Zapodot On

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!

1
mandubian On

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 ;)