Embedded RMI Server and Client example, using asyncrmi one jar with all dependencies Shows how to run RMI server and client in the same process. Shows how method that returns Future behaves. Just type mvn install there is an exec-maven-plugin that tied to the test phase it will run the example.