Hi,
Is it necessary to define the bean in <ejb-ref> tag, when ever i am referrring the bean? Is for cmr fields also?
I am sure the above two questions might not be understandble, hence i am explaing with the examples..
I am having the MovieBean, DirectorBean.
In the MoviewBean, i am having <cmr-field> on DirectorBean.
In the MovieBean to set the DirectorID(which is primary key of DirectorBean), i will query the jndi lookup for DirectorBean home from that i will get the DirectorBean
EJB Object and will use the same to set DirectorID.
Now my question is to refer the DirectorBean from MoviewBean -- Is it necessary to refer the DirectorBean in <ejb-ref> of DD of MovieBean section or not.
Thanks in Advance,