This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes How to list MDB binding name from JNDI tree? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to list MDB binding name from JNDI tree?" Watch "How to list MDB binding name from JNDI tree?" New topic
Author

How to list MDB binding name from JNDI tree?

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
Hi all,

I have written and deployed MDB (Message Driven Bean) using EJB3.0 annotations and deployed on BEA weblogic 10.x server. It is getting deployed successfully. But when I went to see its binding name in JNDI tree through WEBLOGIC ADMIN CONSOLE, I did not see that, which hinted me that MDB was not bound to a name. Is my understanding correct?

1. Then, how it is getting deployed and its status is active?
2. How to see its name in JNDI tree?

Thanks,
Guru
Rejeev Divakaran
Greenhorn

Joined: Aug 12, 2007
Posts: 27
you are right. MDB doesn't have a JNDI name.
you can see the status in the admin console.


Regards,<br />Rejeev<br />Blog: <a href="http://rejeev.blogspot.com/" target="_blank" rel="nofollow">http://rejeev.blogspot.com/</a>
Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
Oh..really?

Thanks for your reply. In that case, how to lookup the deployed MDB from the client?

Also, how to see the status in admin console?

Thanks once again,
Guru
Rejeev Divakaran
Greenhorn

Joined: Aug 12, 2007
Posts: 27
you cannot look up MDB from client. if you want to access MDB you rather send a message to the Queue.
MDB is another EJB, you can see the status like any other EJB. Please explore the admin console for details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to list MDB binding name from JNDI tree?
 
Similar Threads
problem with jndi
EJB 3 Local Lookup not working with Weblogic 10.3
WebSphere 5.1, JMS and JNDI
JNDI Name not getting updated in the JNDI tree.Kindly help me out.
jndi name in ejb3?