*
The moose likes EJB and other Java EE Technologies and the fly likes Is there any difference between Destination and Connection Factory in JMS API ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Is there any difference between Destination and Connection Factory in JMS API ?" Watch "Is there any difference between Destination and Connection Factory in JMS API ?" New topic
Author

Is there any difference between Destination and Connection Factory in JMS API ?

Shivom Shukla
Ranch Hand

Joined: Jul 05, 2012
Posts: 77

HI,

I am learning JMS and came across these two in Administrative Objects.
Could not find a difference between the two.

Thanks,
Shivom
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

A connection factory is just that - a factory for creating connections. A destination is something you send things (messages) to. I can't even see how they are remotely similar. It's like comparing apples with cats.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Shivom Shukla
Ranch Hand

Joined: Jul 05, 2012
Posts: 77

Hi Rob,

Thanks for the reply.
Shivom
 
Don't get me started about those stupid light bulbs.
 
subject: Is there any difference between Destination and Connection Factory in JMS API ?
 
Similar Threads
JMS
Synchonized
JATO Vs JDOM
Tibco EMS + WebSphere MQ
Run as AWT or SWT Application Eclipse Question