0 Replies Latest reply on Feb 8, 2003 10:49 AM by John Lee

    pls,Some basic question about <ejb-ref>.

    John Lee Newbie

      I have been puzzled by the <ejb-ref>.
      Suppose that I want to use session bean A to call CMP bean B.

      1. As I have specified in bean A to how to lookup bean B from jndi, So I can access bean B later. why I have to add line for EJB References, and insert Reference name?
      2. Does there have any association between jndi name and reference name?
      3. As I have specified in bean A which interface of bean B should be called. But, why I should specify home interface and remote interface of bean B again in deployment section of <ejb-ref> ?


      Very Thanks!