Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI

 
Sandip Sarkar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Have installed
MyEclipse with all the required plug ins for J2EE.Am into writing a bare bones MDB . Now how do i configure my JNDi.Have searched through many mnauls but hardly anywhere are the steps documented. CAn anyone help me with this?

Thanks,
Sandip
 
mano ranjan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The JNDI must be configured in the application server or web server which you are using!!

thanks
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a J2EE server running, than JNDI is all ready present, but I'm guessing you're asking how to configure JNDI for the MDB? That's a little complicated. Keep in mind, programs don't access MDBs directly, they simply can't. Programs send messages to Queues that MDBs "listen" to. Therefore, the only JNDI required to set up an MDB is the JNDI name of the queue. How this is setup, though, is pretty server specific so I'd recommend reviewing documentation for how to setup queues in general on your server. Any documentation for how to setup a queue will include documentation for how to setup JNDI name for that queue.
 
Sandip Sarkar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Scott.

You were right. I was asking the same which you answered.
I was looking it out for Jboss.Nez...let me try.

Sandip
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic