Home | Schulung | Beratung | Referenzen | Veröffentlichungen | Jobs | Sitemap | Kontakt

Erste Folie | Zurück | Weiter | Letzte FolieGrafikversion | Inhalt | Home

Beziehungen ejb-jar.xml

<relationships>

<ejb-relation>

<ejb-relation-name>PersonBean-Contact</ejb-relation-name>

<ejb-relationship-role>

<ejb-relationship-role-name>person-has-many-contacts</ejb-relationship-role-name>

<multiplicity>One</multiplicity>

<relationship-role-source>

<ejb-name>Person</ejb-name>

</relationship-role-source>

<cmr-field>

<cmr-field-name>contacts</cmr-field-name>

<cmr-field-type>java.util.Collection</cmr-field-type>

</cmr-field>

</ejb-relationship-role>

<ejb-relationship-role>

<ejb-relationship-role-name>Contact-belongs-to-one-Person</ejb-relationship-role-name>

<multiplicity>Many</multiplicity>

<cascade-delete/>

<relationship-role-source>

<ejb-name>Contact</ejb-name>

</relationship-role-source>

</ejb-relationship-role>

</ejb-relation>

</relationships>