Hi folks, do you know how to draw relationships (associations) in UML diagrams? If yes, there is a rescue for you: Take AndroMDA, the intelligent code generator and have all the @ejb.relation tags generated for you automatically (1:1, 1:n, n:m, unidirectional, bidirectional). See http://www.andromda.org for this.
Cheers Matthias (I happen to be the admin of the AndroMDA project). > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Nathaniel Rahav > Sent: Saturday, April 05, 2003 4:25 PM > To: Michael Delamere > Cc: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] Need help with relationship error.... > > > > unfortunately hair pulling is the modus operandi with this type of > project; me, i'm going bald very quickly from all this !!!! > ( I too am on my own, using only the EJB Book and the forums ) > > sounds to me like trying to get XDoclet to auto-generate CMR > code for a > boundary condition might get you into more trouble than it's worth . > Why dont you program it yourself in a session bean, and just use the > ejb.finders for handling the self-referencing queries ? > > similarly, by the time I got a response to my question last > week, I had > already programmed the 3 beans (M bean, N bean, and the > relationship bean) > myself with my Session code taking care of all the relationship stuff > (finders and cascade deletes)... it wasnt that much work... > > If I have another M:N relation in my app I will use the > jboss.relation-table but for the moment I am happy using my > code as it > is... it give me the flexibility to add more fields to the > relation table. > > cheers, > Nat > > > On Sat, 5 Apr 2003, Michael Delamere wrote: > > > Hi Nat, > > > > Thanks very much for your reply. I�m actually pulling my hair out > > this very moment getting a bean working that has a > relationship with > > itself! I will check out the links below. Thanks again. > > > > Michael > > > > > > ----- Original Message ----- > > From: "Nathaniel Rahav" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Saturday, April 05, 2003 7:05 AM > > Subject: Re: [Xdoclet-user] Need help with relationship error.... > > > > > > > > Dear Michael, > > > > I posted this exact question last week. See the very > helpful answer I > > got which explains the exact syntax for doing this: > > > > http://sourceforge.net/mailarchive/message.php?msg_id=4259983 > > > > and the reply from Mr. Joel Rives > > > > http://sourceforge.net/mailarchive/message.php?msg_id=4264250 > > > > cheers, > > > > Nat > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your > dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300> 020aff/direct/01/ > > > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
