i want to create a very simple JMS standalone client to a JMS Topic hosted on my Glassfish server.
My project is built using maven.
I know there seems to be
Well for me what worked was adding gf-client.jar from the glassfish installation folder, but adding gf-client from the maven repositories did not work.
When using maven dependencies, I found that this worked: https://stackoverflow.com/a/10123034/516188
org.glassfish.main.extras
glassfish-embedded-all
3.1.2
It makes for a 62Mb final JAR file, but it works. Next thing I hit this problem though, used System.exit(0) for that one: Sending message with JMS hangs on exit