Connections
A connection object is an active connection from a client to its JMS provider. In JMS, connections support concurrent use. A connection serves the following purposes:
![*](chapterTOC_bullet.png)
A connection encapsulates an open connection with a JMS provider. It typically represents an open TCP/IP socket between a client and the service provider software.
![*](chapterTOC_bullet.png)
The creation of a connection object is the point where client authentication takes place.
![*](chapterTOC_bullet.png)
A connection object can specify a unique client identifier.
![*](chapterTOC_bullet.png)
A connection object supports a user-supplied
ExceptionListener object.
A connection should always be closed when it is no longer needed.