Actually, in the Invoice bean class,
you should declare the following method that represents the invoicePositions CMR field:
public abstract Collection getInvoicePositions();
The returned Collection will contain InvoicePositionLocal references.
And now, your deployment descriptor should look like:
Note that you can freely change the content of ejb-relation-name, ejb-relationship-role-name.
I hope this helps
