"jaikiran" wrote : If you are trying to create a local ref for a entity bean inside a session bean, then this piece of code | | | <ejb-local-ref> | | <ejb-ref-name>ejb/Book</ejb-ref-name> | | <ejb-ref-type>Entity</ejb-ref-type> | | <local-home>BookHome</local-home> | | <local>Book</local> | | <ejb-link>Book</ejb-link> | | </ejb-local-ref> | | should be declared as part of the session bean configuration: | | | <session> | | <!-- All the session bean related configuration, goes here--> | | ..... | | <!-- Local reference to the entity bean goes here --> | | <ejb-local-ref> | | <ejb-ref-name>ejb/Book</ejb-ref-name> | | <ejb-ref-type>Entity</ejb-ref-type> | | <local-home>BookHome</local-home> | | <local>Book</local> | | <ejb-link>Book</ejb-link> | | </ejb-local-ref> | | </session>
You made my day! thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136960#4136960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136960 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user