ConnectionFactories and Connection objects
A ConnectionFactory object provides a template that an application uses to create a Connection object. The application uses the Connection object to create a Session object.
A ConnectionFactory object provides a template that an application uses to create a Connection object. The application uses the Connection object to create a Session object.