CLI communication with an already running Java application?
When the application starts , you can pass parameters to the application. But how can I pass parameters to an already running application (Java) / how can I handle such cases in my Java program?
In other words: How can I communicate from .bat file / CLI processes with an already running Java application? Note that both things (CLI stuff and Java application) are my own applications and I can adapt the source code - I just don't know how; -)
+3
source to share
1 answer
I prefer to use socket for cross-platform IPC using Apache thrift
. You can use RPC method to use with CLI utility.
+1
source to share