Right now it supports Jetty and Rhino, but it should be pretty easy to
support other servers. It's still a work in progress but I'd like to
get other people trying it out to get some feedback, and contributing!
http://github.com/tlrobinson/jack
I'll hang out in #jack-js on irc.freenode.net in case anyone needs
help/wants to contribute. Or email me.
-g.
On Jan 13, 1:41 am, Tom Robinson <tlrobin...@gmail.com> wrote:
> Following up on the thread about hooking up Rhino to a webserverhttp://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/brows...
> I have ported portions of Rack (http://rack.rubyforge.org/) to
> ...
question:
- does the jetty handler support multithreading?
suggestion:
- it would be better to use Javascript conding conventions (ie
camelCase) instead of Ruby's coding conventions (ie snake_case)
regards,
-g.
On Jan 13, 1:41 am, Tom Robinson <tlrobin...@gmail.com> wrote:
> Following up on the thread about hooking up Rhino to a webserverhttp://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/brows...
I think this is same question I'm trying to address - see the discussion
thread "Single Rhino Context in MultiThreadedEnvironment", with some
answers from Norris. I think that, by default an http server (eg Jetty)
from a command line won't support multithreading. Probably need to run
some tests with threadlocals etc to figure this out. I might try to get
in touch with Jack's developer to see if he's got good ideas for this.