Control java application from another java applciation -
I have two Java applications. Let's call them master and slave. I want to run some slaves from the master and invite slave methods from the master. I know how to do this with sending and parsing UDP messages through sockets. But I could curios, that more and more simple approaches to implement slave methods? Ideally this is like
getSlave (index) .invokeMethod (Args)
Have you seen in the RMI?
Provides a method for remote call methods from other applications on the same or other JVM.
Comments
Post a Comment