Message from discussion
Rails on JRuby?
Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!zrz.TU-Berlin.DE!not-for-mail
From: Thomas E Enebo <en...@acm.org>
Newsgroups: comp.lang.ruby
Subject: Re: Rails on JRuby?
Date: Wed, 27 Apr 2005 22:54:49 +0900
Organization: Technical University Berlin, Germany
Lines: 36
Message-ID: <20050427135417.GH8001@garnet.tc.umn.edu>
References: <50319.66.192.236.118.1114613120.squirrel@devsea.com>
NNTP-Posting-Host: neutron.zrz.tu-berlin.de
Content-Type: text/plain; charset=us-ascii
X-received-from: This message has been automatically forwarded from
the ruby-talk mailing list by a gateway at TU-Berlin.DE. If it is
SPAM, it did not originate at TU-Berlin.DE. Please report the
original sender, and not us. Thanks!
Please see http://hypermetrics.com/rubyhacker/clrFAQ.html#tag24 to.
In-Reply-To: <50319.66.192.236.118.1114613120.squirrel@devsea.com>
X-ML-Name: ruby-talk
X-Mail-Count: 140038
X-ruby-talk: <20050427135417.GH8...@garnet.tc.umn.edu>
X-rubymirror: yes
On Wed, 27 Apr 2005, John Wells defenestrated me:
>
> 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.
As far as I know, no one has looked at this yet. I am guessing making
RoR run within Java could work in one of two ways (and I know little about
RoR so anyone can jump in here -- I plan on learning more soon though :)):
1. Change request evaluation code in RoR to work in a servlets environment
2. Run apps in a full ruby way and run webrick as the server
I have no idea how close RoR evaluation is to the servlets model for 1,
and though we have some very new and very rudimentary sockets support we are
a ways from 2 (because of lacking pieces of socket support).
Also if RoR uses continuations, then this will be a non-starter since
we do not support them yet.
We would welcome any help with JRuby. Investigating how to integrate RoR
into a J2EE environment would be pretty cool. Working on socket support
would also be welcome.
If you want to get your hands dirty, you can join one of our JRuby-specific
mailing lists:
http://jruby.sourceforge.net/contact.shtml
-Tom
--
+ http://www.tc.umn.edu/~enebo +---- mailto:en...@acm.org ----+
| Thomas E Enebo, Protagonist | "Luck favors the prepared |
| | mind." -Louis Pasteur |