File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 19685
    
  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
 
Don't get me started about those stupid light bulbs.
 
subject: Is there any difference between Destination and Connection Factory in JMS API ?