[JRuby] Exposing rails method as java class

hello,
I am using Jruby on Rails. Does anyone know if you can expose a RoR
object
as a java class so that you can call it directly from java without
having to
go through a service layer like REST ?

Thx
Adam

Adam,
The following link for NetBeans might give you the answer:
http://www.netbeans.org/kb/61/ruby/java-ruby.html?intcmp=025655
I haven’t gone through it yet so it might not be exactly what it is
you are looking for, but seems like it may answer your question.
HTH.
Bharat