This was the information I could find from research.
"The ejb-local-ref element is used for the declaration of a reference to another enterprise bean's local home. The declaration consists of an optional description; the
EJB reference name used in the code of the referencing enterprise bean; the expected type of the referenced enterprise bean; the expected local home and local interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean. Used in: entity, session, message-driven "
And I want to exactly know in what all situations do we use this.
And is it compulsory to use <ejb-local-ref> every time for session fased.
Thanks.