logo       

Re: JRuby on Rails: msg#00056

lang.jruby.user

Subject: Re: JRuby on Rails

On Wed, 22 Feb 2006, Nick Sieger defenestrated me:
> On 2/22/06, Thomas E Enebo <[1]enebo@xxxxxxx> wrote:
>
> Actually, I did look at this about six months ago and a JDBC
> active record
> did not look like it would be tough to do. Mostly just adapting
> JDBC output
> to the format active record wants. I did not see any technical
> hurdles.
>
> I guess it would depend on whether you wrote an entirely new 'jdbc' AR
> connection adapter or tried to use JDBC to emulate Ruby libraries such
> as 'mysql' and 'oci8' etc.
> The latter approach would be more work but it would have the bigger
> payoff of making it easier to port Rails apps to JRuby with fewer
> modifications. There's also the side benefit of having those DB
> access libraries in JRuby for reuse in other apps.
> Any thoughts? At the moment I don't have a strong opinion of which
> route to take. I guess the new 'jdbc' AR adapter would be easier to
> get going.

Well I could see going both routes. The generic one would be
a decent first swipe. The specific ones seems like minor inheritence to
set up the database specific stuff. At a minimum, doing the first seems
like a good intro to making the others.

-Tom

--
+ http://www.tc.umn.edu/~enebo +---- mailto:enebo@xxxxxxx ----+
| Thomas E Enebo, Protagonist | "Luck favors the prepared |
| | mind." -Louis Pasteur |


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise