a pub/sub server written with java