Any ideas on how to implement dependent objects when using this doclet 
mechanism? (or even w/o while we're on the topic)

e.g.,

I have a a User bean, in which I would like to store a reference to 
another user bean (i.e., just call User.getAnotherUser(), and return the 
other User).  The doclet takes this and goes ahead and creates a variable 
of type User in the generated *CMP class, but it doesn't appear that 
jBoss/JAWS can seamlessly do this yet.  (hopefully I'm wrong on this 
point?)  What I guess I need to do is actually implement the getters and 
setters for this method myself, so I can get the PK/Handle/etc. from the 
dependent object, and store that as a primitive/string/whatever, and then 
code the getter to do a lookup for that bean.

The question is, with the doclet scheme, what is the best way to do this? 
I would like to avoid coding in the generated classes/interfaces, since 
those will be overwritten the next time I run javadoc with this doclet. 
(this setup rocks with ant!)

Thanks,
Jason


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to