3 ms·
For those of us who were stuck with the JVM, fortunately there's now Grails (obviously modeled after Rails). Groovy makes programming for the JVM fun IMO. I've
by xirdstl 11y ago
For those of us who were stuck with the JVM, fortunately there's now Grails (obviously modeled after Rails). Groovy makes programming for the JVM fun IMO.
I've used Groovy/Grails for a number of web apps, both in commercial settings and side projects. Since I had previously been doing a lot of Java, being able to leverage the existing Java ecosystem and libraries with Rails-like productivity was a huge plus.
- olavgg 11y agoI wouldn't say I'm stuck on the JVM, I actually prefer building web apps with Grails. Grails may have a small community, but it makes Java web development really sexy. And I write 50% of my Grails code with Java. Groovy is ok, but I prefer the excellent IDE support I get with Java.
- xirdstl 11y ago"Stuck with" was probably not the right wording. Where I started with Grails in an enterprise environment, Rails would have been a non-starter (or at least a much tougher sell) because operationally we were a Java shop. With Grails, though, it's just another WAR to drop in your servlet container, so operations doesn't really care. Which IDE do you use? I find IntelliJ to have great Groovy support. Also, you can optionally type check Groovy, which helps even more.
- olavgg 11y agoI use IntelliJ too, and I use static typing and @CompileStatic all the time. I'm not complaining, just being nitpicky. I don't see the point coding Java style with Groovy. And that is in my opinion Groovy's biggest strength, that a Groovy and Java class can work great together. A class written in Groovy works just like a Java class in Java and a class written in Java works like a Groovy class in Groovy :-) And I'm a big fan of using Groovy when working with JDBC.
- vorg 11y agoYou don't need a Rails clone just so you can work on the JVM -- you could use JRuby on Rails.