An example of creating a java app that uses the gson library to expose some simple RPC functionality that will be easily usable from node.js