I think i've read something related to this before. I don't
remember if it was a project, an article, ...
I have some unrelated Groovy scripts started by different
process at different times. If the script X is running and someone
starts the script Y, I want to reuse the same JVM instance. It will be
a kind of GroovyServ (
http://kobo.github.com/groovyserv/), but I'm
looking for a pure-Java implementation because we have all kind of
OSes here: Windows XP/Vista/2003, some flavors of Linux, HP-UX, ...
I'm aware of:
1. All funny things that can happen when running those scripts
in a shared JVM :-);
2. I won't be able to use groovy.sh or groovy.bat, because
they aren't prepared for this kind of "joining in" feature;
3. I can develop a "smart" Grails (or Java) server to do
something like that.
I really don't care about the slow(?) startup of scripting
languages (in general), because we are talking about long running
processes. I'm just worry about 100 or more concurrent scripts
starting 100 different JVMs on a production server :-)
Is there any ready-to-use solution/tool, for this kind of problem?
Thanks in advance.
Best regards,
Daniel.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email