The directories:

CDS_JMS_AlarmProducer
CDS_JMS_AlarmSynchConsumer
CDS_JMS_AlarmListener

contain NetBeans projects for components of a simple JMS application relying on a Glassfish 4.0 application server (JDK 1.7).
The first two are application clients, and the last one is a message-driven bean.
They use a JMS Topic named “jms/alarms” that has to be previously defined/configured on the application server. 
The default connection factory is used.

The alarm producer programatically makes use of resource lookup, while the other two employ annotations for CDI (Context and Dependency Injection).

