Hi,
I have a java server running in a computer with an ip and a port fixes. It has two methods: methodA and methodB.
Method A executes an external application APP, like this:
Code:
Process p = Runtime.getRuntime().exec("APP");
...
p.waitFor();
APP is blocked after 10 seconds, so the server is blocked too in line:
From other computer, an application call the remote methodB and ideally it must unblock APP so the previous methodA too.
I would like to know if it is possible this approach, because I am trying to make it, but
the server does not run methodB if it is blocked in methodA .
Thanks in advance.