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

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -