This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 38107
    
  22
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
 
Similar Threads
JMS and connectionfactory
Running JMS in JBoss
Why this compiles in Sun App Server but not JBOSS
Context close
How does it work ?