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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -