Added some JavaDSL demos for sync and publish/subscribe.