3 ms·
I've recently started toying with the Play Framework, a Rails-alike written in Java. The other Java web development tools I'd seen all primarily featured a suf
by alec 16y ago
I've recently started toying with the Play Framework, a Rails-alike written in Java. The other Java web development tools I'd seen all primarily featured a suffocating bureaucracy, but this one pulled a number of tricks to appear almost as concise as Ruby. My take-away was that Java didn't have to be as repetitive as I'd thought, just that most of the Java libraries were written to encourage that. Maybe that's easier to make Java more productive than Ruby more efficient.
- rufugee 16y agoPlay is indeed awesome...and extremely fast when compared to Rails. See discussion here: http://news.ycombinator.com/item?id=1380732 http://news.ycombinator.com/item?id=1380732
- jamesbritt 16y agoI'm curious if people who say they're using some Java framework for the speed in place of some Ruby framework. which they would prefer for the language, know about JRuby? And if they do, why not use the Ruby app of choice under JRuby? Pretty much all of the dozen+ Ruby Web frameworks can be bundled up as WAR files and dropped off for Glassfish (or tomcat or whatever) to handle.
- rufugee 16y agoIf you look at the results in the link I posted, you'll see that Play ends up being 6 times the speed of Rails. I know about JRuby and have used it much, but that sort of speed improvement can't be ignored, especially considering how close Play comes to making Java beautiful...
- jamesbritt 16y agoVery interesting. Thanks. Almost missed seeing the Snap and Play stats because the preformatted text was getting formated into a side-scrolling pane. Not that I want to code in Java, but the speed is impressive. Still, I have to wonder what the JRuby speed would be for some of the other Ruby frameworks that are faster than Rails, such as Ramaze and Sinatra. (I doubt they would beat those Play numbers, but they would still do better than Rails. A Duby version of Ramaze might rock.)
- abhiyerra 16y agoDoing this at current job. Deploying Ruby on Rails as a WAR on Tomcat. I'd argue it's one of the fastest way to deploy especially using Warble. Also the speed is not too shabby either.