Remote Method Invocation RMI
Callback invoking methods on a client
Client-Server invoking methods in one JVM from another
Simple RMI example with Client and Server implementation