Fix bitrot in javaClient/javaServer applications

There's some minor bitrot in the objects/applications/javaClient and objects/applications/javaServer code. This commit fixes enough that gets it runnable.

Info on how to get it running [in my blog post](http://bluishcoder.co.nz/2013/09/16/multiple-users-in-a-self-world.html).