geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirav Mehta" <mehtani...@gmail.com>
Subject Re: EJB trouble
Date Tue, 30 May 2006 16:49:05 GMT
>
> 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?

Mime
View raw message