David Corbin
5/1/2005 10:12:00 AM
On Wednesday 27 April 2005 09:37 am, John Wells wrote:
> Guys,
>
> I'm fairly new to the ruby world...one of those being lured over by the
> RoR framework.
>
> As I've mentioned in past posts, my company is primarily a Java shop.
> While we really like RoR's speed of development, we'd actually prefer to
> be able to use it in our existing servlet containers.
>
> With Jython, you can indeed run python scripts as servlets. We have, in
> fact, used this functionality in the past, but mainly for prototyping
> applications that would later become Java-based.
>
> With RoR and JRuby, however, we'd be interested in writing full-fledged
> applications in ruby, and then running them within the container. I've
> searched the web for information on how to do this or whether it's even
> possible, yet haven't run across a good resource yet.
>
> Can anyone tell me A. if it's possible, and B. if not, what remains to be
> done with JRuby to make it possible? If it may be possible in the future,
> but work remains to be done, I'd like to get involved and help out.
>
That would be cool. It would also make migrating Java web apps much easier.
The best stategy that i can see, would to be write a Java Servlet that calls
RoR scripts.
Based on my experience, there are probably half-a-dozen bugs/missing features
in JRuby that would need to fixed/implmented based on the size of Rails.
This could easily take several full days of work, or more if they're really
bad cases... I certainly look forward to your help, and hope to see you on
the jruby-devel list.
David