i read the docs on CMP and found it didn't give me
enough information on setting up a relationship
between an entity bean and a dependent class (A one to
I tried setting up the desciptor as below, but JBoss was
expecting a 'ejb-name' element where i have a
Here is a part of our deployment discriptor. When we try deploying the application we get the error shown below.
Error in ejb-jar.xml for relation null:
expected one ejb-name tag
Does this mean JBoss doen't support relationships between ejb's and dependent objects?
Is there any other way to have a one to many relationship between an entity bean and a dependent object (or value class - providing it maps to rows in a database).
Dependent Value Classes have nothing to do with one-to-many relationships. They're used for complex type mapping, not for relations.
Read the docos one again (I haven't read them, but MCVSoft's documentation on CMP2). I think you got the work idea about DVC.