Hi all,
In my session beans I need to lookup the local home interface of some other entity beans. I have added the following paragraph to ejb-jar.xml of the session beans:
<ejb-local-ref>
<ejb-ref-name>JNDI_NAME</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>myprog.SomeEntityLocalHome</local-home>
<local>
myprog.SomeEntityLocal</local>
<ejb-link>SomeEntity</ejb-link>
</ejb-local-ref>
If I have to lookup about 40+ beans in this session, do I need to repeat the above paragraph for 40+ times? Or is there any shortcut to place all the beans to a wider scope?
Thanks,
Kevin
- Local JNDI lookup again... Kevin
- Re: Local JNDI lookup again... Aaron Mulder
