JNDI problems can be resolved by having a resource –ref smething like :
----Begin------------
<resource-ref>
<ref-name>testbank</ref-name>
<resource-link>testbank</resource-link>
</resource-ref>
--End----------------
in ur code it shd be like -> ……
……ctx.lookup("testbank")
Hi Santosh,
What is a resource ref? Also, is the way I am trying to access the bean correct, i.e. using JNDI name i.e. "HelloWorld" or the component name i.e. "java:comp/env/ejb/HelloWorld". What is the difference?
