This illustration shows a sample ejb-jar.xml
file:
<relationship-role-source> <ejb-name>EmpBean</ejb-name> </relationship-role-source> <cmr-field> <cmr-field-name>address</cmr-field-name> </cmr-field>
It also shows a sample orion-ejb-jar.xml
file:
<cmp-field-mapping name="address> <entity-ref home="AddressBean"> <cmp-field-mapping name="address" persistence-name="addressPK" /> </enetity-ref> </cmp-field-mapping>
There is an arrow from the <cmr-field>
portion of the ejb-jar.xml
example to the first and third lines of the orion-ejb-jar.xml
example.