Re:Stop hating Java
by programminggeek on Friday July 22, 2011 @10:31AM
(#2793657)
For our app, we went straight up MongoDB driver. We didn't mess with an ORM at all. We still have our objects that end up mapping to Mongo, just not using a 3rd party lib. It's actually a really clean and enjoyable experience.
Huh, didn't think of that. I'll have to try it. Thanks a lot.
Have you tried jrebel to cut your compile time? It might ease some of that pain.
JRebel isn't applicable to Play - Play (both when running Java and Scala) hosts its own compiler. In dev mode, when you change a .java or .scala file, it recompiles it and reloads it on the fly.
Which is why Play is freaking awesome--well, one of the reasons.
But writing it? Very nice, aside from the somewhat iffy SQL layer. (I'm not a huge ORM fan, and the process of actually writing SQL through Anorm can be problematic.)