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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply 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: 32689
    
    4
Too difficult a question for us beginners. Moving.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects
 
Similar Threads
Context close
Running JMS in JBoss
JMS and connectionfactory
How does it work ?
Why this compiles in Sun App Server but not JBOSS