posts - 2,comments - 0,trackbacks - 0
From:
A connection factory is the object a client uses to create a connection with a provider.
A connection factory encapsulates a set of connection configuration parameters
that has been defined by an administrator. A pair of connection factories come
preconfigured with the J2EE SDK and are accessible as soon as you start the service.
Each connection factory is an instance of either the QueueConnectionFactory
or the TopicConnectionFactory interface.

With the J2EE SDK, for example, you can use the default connection factory
objects, named QueueConnectionFactory and TopicConnectionFactory, to create
connections. You can also create new connection factories by using the following
commands:
j2eeadmin -addJmsFactory jndi_name queue
j2eeadmin -addJmsFactory jndi_name topic


posted @ 2005-08-10 21:44 tiger.you 阅读(216) | 评论 (0)编辑 收藏