This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.