aspose file tools*
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
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: 19697
    
  20

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any difference between Destination and Connection Factory in JMS API ?