Hi,
I have developed a restxq service, which executes a command via the process module. The command is actually java (java -cp ...) which actionates a linguistic parser: unfortunately the time of loading/opening of the java process is quite long (14 sec., also at the command line) even if the actual parsing is very fast. I am looking for a way to keep such a java process "open", so that a user's request can be satisfied much much quickier (while now the java process is opened and then closed for each single request). I am not sure this is a question for Basex users (the problem is only due to java), but I am not a java developer at all and I am trying to understand what can be done in this respect. Thanks!
Joseph