aspose file tools*
The moose likes Websphere and the fly likes Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects" Watch "Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects" New topic
Author

Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects

Bruce Berry
Greenhorn

Joined: Dec 01, 2008
Posts: 9
Hello

I'm trying to understand JNDI lookups in the context of how references to JMS ConnectonFactory and Destination objects are obtained. What exactly does a JNDI lookup return..an actual object reference? Is the JNDI name supplied in the contetx.lookup statement the actual JNDI name of the ConnectionFactory or Destination object? Are ConnectionFactory and Destination objects created via a app server or JMS admin facility..and where are they maintained (deployment descriptors??). As well, are JNDI directories typically implemented using LDAP.. a file system?

If it helps qualify my questions the app server platform I'm using is Websphere 6.1 and the JMS provider is MQ Series.

Sorry for the probably dumb questions, but JNDI is really confusing me

Thanks
BB

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39396
    
  28
Too difficult a question for us beginners. Moving.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

I'm going to move this to Websphere as several of the questions will be specific to that app server.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects