Use Stomp which is a simple to implement client protocol for working with ActiveMQ and other messaging systems.

Graphic Design By Hiram