The Oracle Tools framework has built in remoting support for JVMs launched through the framework. This makes it easy (easier?) to assert functionality in remote JVMs in a JUnit test.