This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 44038
    
  33
Too difficult a question for us beginners. Moving.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3275
    
    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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Confusion Around JNDI Lookups for JMS ConnectionFactory and Destination Objects
 
jQuery in Action, 3rd edition