6.2. Creating and Closing Connections and Sessions with JNDI
The examples described in in this chapter create and close connections and sessions using a connection factory that is parameterized using the Java Naming and Directory Interface (JNDI). This section shows the code needed to work with JNDI in MRG Messaging programs, then shows the JNDI properties used in MRG Messaging and the format of a Connection URL and a Binding URL.