This question is rather hard to ask as I do not know what technology or processes to even leverage to make this happen. If it even is possible.
I have two computers. Master A and Server B.
I want Master A to start a Java process on Server B
I want to be able to "view" the running java processes somehow and be able to interact with this. This means that I want to have some sort of connection to the running java processes on Server B from Master A.
Perhaps this is possible by starting up a container that runs this specific client and allows a remote connecton to it from the master computer?
Is this possible? Thanks!
How about using SSH?
https://en.wikipedia.org/wiki/Secure_Shell
Once configured, you can connect from your Master via:
$ ssh user@SLAVE_IP
And then you are logged in the slave computer from the Master one. Once logged in, you can do:
$ cd FOLDER/WHERE/THE/JAR/IS/PLACED
$ java -jar MyJar.jar -DMyProperty=Value...
Is this what you were looking for?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.