This sample is a part of the Terracotta Framework Library - tclib. More information is available from the Terracotta Framework Library readme.html.
This application implements a remote class that is invoked "remotely".
This sample application requires Maven 2 and Java 5. First download and install Maven 2. Then perform these steps:
To demonstrate the Remote Invoker:
$ mvn tc:start
$ mvn tc:run
[INFO] [node] I am servicing requests... [INFO] [node] Incrementing counter by: 3 [INFO] [node] Proxy returns: 3
$ mvn tc:run
[INFO] [node] Proxy returns: 6
[INFO] [node] Incrementing counter by: 3