...
Users of the Java API can take a look at the RemoteDeploymentTest
class as an example.
Users of the ANT Ant tasks can take a look at the remote-test
sample.
Users of the Maven2/Maven3 Maven 3 plugin can use the Maven2 Maven 3 Archetype showing remote deployer support. Please read: Webapp Creation and Remote Deployment Archetype.