On Oct 28, 2007, at 10:43 AM, Charles Oliver Nutter wrote: > James Britt wrote: >> Charles Oliver Nutter wrote: >>> >>> What more would folks like to know about? >> I's like to know more about non-Rails Ruby Web apps that use JRuby. >> Packaging, deployment, known issues, what's needed, etc. >> I expect Charlie probably cannot answer all of these for the myriad >> Ruby Web frameworks out there, so if anyone has experience or >> observations about using JRuby with Nitro, Camping, Ramaze, Iowa, >> etc. please speak up. > > I can talk about one option that *should* be in 1.1: Ruvlets. > > Tom Enebo has been working on a nice, simple Ruby-based servlet API > for folks wanting to use Ruby but not wanting to wire in Rails or > another large framework (or for people wanting to easily wire > framework X into a servlet environment). It goes something like this: > > ruvlet.rb: > > def service(request, response) > # handle request, send response > end > > And that's about it for the simplest case. You stick this in a WAR > file with the Ruvlet servlet configured, and it will be routed all > requests. There's increasingly more specific mechanisms for wiring > things up too, from specific HTTP request types to basic request > routing to different scripts. But it's nice and simple, with no > cgi.rb overhead and with a choice of dozens of high performance WAR- > based server front-ends. > > I'd love to hear if people are using JRuby for the others. I know > Camping works, but I don't know if there's any major JRuby Camping > users yet. > > - Charlie > We just did some work this week so that all of Merb's specs pass on JRuby and you can run merb apps under the jruby mongrel. Cheers- -Ezra