On one box there is a running java server I create.
Another app allows me to call shell scripts to perform authentication function.
I'm looking for an efficient way to talk between the shell script and the java server app.
Obvious is launching another java app and using RMI, but this is not scalable to large numbers of calls.
Is there a good way to do this with pipes or sockets that doesn't require large initialization overhead?