JRuby vs Grails

Hi you all,
(this thread is not important, it’s just I would appreciate your opinion
if you can throw it out :D)

I’m involved in a P2P Java desktop app that have to be transformed in a
Web app. I am not willing to rewrite the Java app that is already done
and, apart from that, I have to use specific libraries such as JXTA or
Jena.

So I started to learn Grails. However, in my humble opinion, Grails is
far away from Rails, even though is quite similar. The advantage is that
I wouldn’t have to touch anything of the Java classes already
implemented.

So, the second option would be implement this with the help of JRuby. In
this case, will I have to transform the Java classes already done, or
they can stay (almost) as they are? Can I use the Java libraries
normally?

Anyone has come with these same two choices? I will apreciate hearing
from you then, to see what you finally chose.

Thanks.

On Mon, Mar 24, 2008 at 8:42 AM, Damaris F.
[email protected] wrote:

So I started to learn Grails. However, in my humble opinion, Grails is
far away from Rails, even though is quite similar. The advantage is that
I wouldn’t have to touch anything of the Java classes already
implemented.

So, the second option would be implement this with the help of JRuby. In
this case, will I have to transform the Java classes already done, or
they can stay (almost) as they are? Can I use the Java libraries
normally?

Sure, you can call into Java just fine from JRuby in most cases. See
http://wiki.jruby.org/wiki/Calling_Java_from_JRuby for a starting
point.

/Nick

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs