Thanks a lot Setty for your reply... Can this code snippet work if I use it as a part of the servlet?
Joined: Sep 08, 2008
Yes it works
Joined: Apr 03, 2008
Thanks a lot Setty.
I have tried it the way you have mentioned.
And it works.
After trying this example I found out that I need to be aware of MBeans.
So I have read about MBeans.
Now that I have the names of all the ejbs deployed in websphere, how do I do a JNDI lookup to invoke ejb method.
Is there any JMX api that would help me to actually retrieve an ejb reference?