I am trying to use JMS and have a couple of questions.
The first is that i can only find examples that use JNDI to get an instance of a ConnectionFactory which means that it would have to be managed elsewhere and stored in JNDI using a name and retrieved using that name.
Is it possible to rather programatically create a connection factory? If so, does anyone know of a code example or tutorial to do this?
Also, it is possible to do this using standard java with jar files or would you have to do it using an application server?
Thanks a lot for any advice or guidance. I know they are weird questions.