Hi,

I'm hoping for some clarification. In common with a lot of projects that seem to be cropping up in this newsgroup, I've got a rhino shell session starting up a webserver and then registering a javascript handler for http requests.

However, a shell session presumably creates one Rhino Context. And there can only be one Thread per Context (or vice versa). So what happens when a Rhino Shell session (single threaded) starts up a multithreaded web server, and that webserver then calls into Rhino?

I'm assuming that this model (Rhino script invoking its own webserver) is inappropriate for production environments for this reason, and I'm planning on only using this mode for development. However, I would like to improve my understanding of this situation.

Thanks

Patrick
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to