|
JRuby on Rails: msg#00048lang.jruby.user
Hey guys, Saw Charlie's post today: http://headius.blogspot.com/2006/02/making-progress-on-rails.html First of all, great news! Glad to hear you're getting this going. This is definitely exciting stuff I thought I'd weigh in with a thought. Running Rails on WEBrick -- it would certainly be cool to get WEBrick working, but in my mind, there's a potentially easier path that may avoid the Socket and IO issues. Create a JRubyCGIServlet that would attempt to run Rails as a CGI using JRuby inside Tomcat or another existing servlet container, and then implement a compatibility shim between servlet HttpServletRequest/Responses and Ruby's CGI.rb. Have you thought of this before? This is simplifying the problem greatly, so I may have overlooked something, but it seems like an interesting approach. This approach would also be much more palatable to existing java shops since you could run Rails completely within the existing java infrastructure. The other major remaining issue I can think of right now of course would be to implement JDBC versions of the popular database adapters. It seems like you may have to do this somewhat specifically to each database driver since the DB-specific connection code is usually require'd in by the connection adapter. The JDBC versions would probably have to simulate and replace the Ruby versions. Do you have a running list of the major roadblocks that exist for running Rails? I'm definitely interested in this enough to potentially carve some time in the near future to work on it. What would it be best for me to start playing with? Cheers, /Nick |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Compile Ruby Code?: 00048, Charles O Nutter |
|---|---|
| Next by Date: | Re: JRuby on Rails: 00048, David Corbin |
| Previous by Thread: | Compile Ruby Code?i: 00048, Kris Leech |
| Next by Thread: | Re: JRuby on Rails: 00048, David Corbin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |