First off, i am using HTML5 Websockets connected to a Jetty Server for communication.
All clients are publishers and subscribers. A client can publish data to a Topic and sometimes only that client will receive an update, other times everyone who is subscribed will receive a notification including the publisher.