This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 38467
    
  23
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.
 
 
subject: Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects