Chris,
I did define <ejb-local-ref> in the deployment descriptor and still its not working. Below is the code from the ejb-jar.xml file.
<entity id="ItemInfo">
<ejb-name>ItemInfo</ejb-name>
<local-home>addr.ItemInfoLocalHome</local-home>
<local>addr.ItemInfoLocal</local>
<ejb-class>addr.ItemInfoBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>ItemInfo</abstract-schema-name>
<cmp-field id="CMPAttribute_1060962686266">
<field-name>id_item</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1060962686281">
<field-name>item_name</field-name>
</cmp-field>
<primkey-field>id_item</primkey-field>
<ejb-local-ref id="EJBLocalRef_1063027674531">
<description>This is the
test to see if Local EJB is found thru jndi lookup.</description>
<ejb-ref-name>ejb/ItemInfoLocalHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>addr.ItemInfoLocalHome</local-home>
<local>addr.ItemInfoLocal</local>
</ejb-local-ref>
</entity>
Any assistance will be greatly appreciated.
Thanks & Regards,
Pinal.