[JMS] Standalone JMS Client

If you were trying to make a JMS client to run as a standalone application 1. Create a java project. 2. Add as dependencies: java-ee api and C:installsglassfishglassfish-4.1glassfishlibgf-client.jar (adjust path) 3. Create main class: [code language=”java”] package jmsclient; import java.util.Hashtable; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.jms.Connection; import javax.jms.ConnectionFactory; import…