Here's the very beginning of mongrel.rb:

require 'socket'
require 'http11'
require 'thread'
require 'stringio'
require 'mongrel/cgi'
require 'mongrel/handlers'
require 'mongrel/command'
require 'mongrel/tcphack'
require 'yaml'
require 'time'

So, I have some questions.

How are we doing with socket.rb? I'm working off of version 0.8.3 of JRuby.
If I start to get the ball rolling with JRuby Mongrel, should I work out of
CVS? Wait for 0.9?

'http11' appears to be the extension. But I'm guessing here as I've not
studied how Ruby extensions work. I'll get back to this in a second.

not at all sure about 'thread'

Is 'rbYaml' a drop in replacement for 'yaml'? 'RubyZlib' same question. 
Sorry about such basic questions. I'm guessing I need to put together a "Ola
Bini development environment"! Any pointers would be greatly appreciated.

Thanks for the explanation on the C-code. It really had me confused. I have
it "loaded' in Eclipse as a CDT project but can't get it to build. Let's
take the first scenario:

We study the C code and it's Interface. Ruby would be making calls to this
extension as normal messages, yes? So, write a Java program that provides
the behavior the C extension provides. In this scenario, we have the
absolute freedom to write absolutely optimal Java. 

Second scenario: We generate the Java based on the C Sources. I searched for
several hours yesterday on some time of C2J. There's not much out there that
has the quality we need for such an important effort. After reading your
post, I'm convince, that's not the way to go anyway.

Third scenario: Generate Java from the Ragel definitions.  Could you point
me to where the Ragel definitions for Mongrel are?  Can we create our own
Ragel>Java generator in JRuby?

Scott
--
View this message in context: 
http://www.nabble.com/Mongrel-support.-t1804283.html#a4923641
Sent from the JRuby - Dev forum at Nabble.com.



_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to