The Mentawai web framework now fully supports JRuby. You are able to
write
your actions in Ruby (or your whole application) or you can call any
Ruby
code from your Mentawai Java code. There is no need to know JRuby, just
place your ruby code inside /WEB-INF/ruby and start calling it.
Some other features include:
-
auto-reload ruby code inside /WEB-INF/ruby
-
automatically look env variables to set up jruby system properties (so
you
can run rubygems and ruby libraries without any effort)
The full recipe can be found here:
JRuby rocks! Congrats for the team for such a wonderful and courageous
job.
I did not have any problems doing the integration!
-Sergio