5 points · by shpen · 14y ago · 11 comments
So my question is this: Should I continue with Spring, or switch to RoR or some other web framework?
Having said all this, I worked professionally with Spring and I do personal stuff with Rails, and Rails is a lot more fun.
If you want to stay a little closer to Java, you might want to check out Grails:
http://www.grails.org/
https://devcenter.heroku.com/articles/grails
If you're actually just writing a website, not a web app (however that distinction is made these days), something like Ruby and Sinatra might be a better fit: http://www.sinatrarb.com/
https://devcenter.heroku.com/articles/rack
And if you want something completely different, you might have a look at web2py (on Heroku you would have to deploy that as a python wsgi app).And while I think Heroku looks fantastic, I'm personally leaning towards http://appfog.com/ for the projects I plan to be toying with "in the cloud" -- I feel their pricing model (especially their "free" tier) makes more sense. But you should of course choose what is a good fit for your needs.
Instead, you might consider a of Java-rooted option:
The play framework is pretty slick (http://www.playframework.org). The APIs are fairly light and easy to pick up, and the templating system is rather powerful. The documentation is solid, and it's not like you'll need to spend hours in tutorials to get started Play does both Java and Scala, and works fine with either. I'd actually recommend you stick to Play 1.x, as the 2.x docs and stuff aren't as mature and are much more targeted to Scala developers.
Oh, and heroku loves play. https://devcenter.heroku.com/articles/play
I tried Django and quite a few Java frameworks but ultimately settled on using node.js because I found it to be the lowest point of entry by far.