February 2002
Beginner to intermediate
544 pages
10h 23m
English
A Connection object is a client's active connection to its JMS provider. It typically allocates provider resources outside the Java virtual machine (JVM).
Connections support concurrent use.
A connection serves several purposes:
It encapsulates an open connection with a JMS provider. It typically represents an open TCP/IP socket between a client and a provider service daemon.
Its creation is where client authentication takes place.
It can specify a unique client identifier.
It provides a ConnectionMetaData object.
It supports an optional ExceptionListener object.
Because the creation of a connection involves setting up authentication and communication, a connection is a relatively heavyweight object. Most clients ...
Read now
Unlock full access