Awesome
Java EE 7 Example for JMS and WebSockets integration
This application demonstrates a full-duplex scenario using WebSockets and JMS, with a fully functional server-side asynchronous push, using CDI events and EJB.
Details and step-by-step were blogged here: https://blogs.oracle.com/brunoborges/entry/integrating_websockets_and_jms_with
How to run
Download and install JDK 8 and GlassFish 4.1. Open project on NetBeans or build package with Maven. Deploy on GlassFish through NB or with admin console.