Since the two APIs are nearly identical, you can get a good feel for the use of both interfaces by looking at either. The Destination , Queue , and Topic interfaces represent administered objects . Administered objects are created by an administrator and are registered with a directory. They represent globally accessible resources. They are not themselves a destination.
Destination objects support concurrent use.
The code for the Topic interface is nearly identical. The ConnectionFactory , QueueConnectionFactory , and TopicConnectionFactory interfaces represent administered objects . They encapsulate a set of configuration parameters that have been defined by an administrator. A client uses a ConnectionFactory to create a Connection with a JMS provider. They simplify the administration of a message service in a large-scale enterprise setting.