Is there any way of getting XDoclet to generate constants for the COMP_NAMEs declared in the ejb-refs for a bean?
Ie For BeanA that has an ejb-ref to BeanB, I declare an ejb:ejb-ref (or ejb:ejb-external-ref) tag and an appserver tag to bind the BeanB's COMP_NAME to a JNDI_NAME for BeanA. During BeanA's setSessionContext() I would like to resolve the reference to BeanB's Home using the COMP_NAME. At the moment I have to manually include a second String specifying the same COMP_NAME as declared in the ejb-ref tag in BeanA's header. So is there a way to automatically generate the COMP_NAME constant for beans that are *referenced*? NB The BeanUtil class that XDoclet can generate is not a solution as its (aberrantly IMO) generates a COMP_NAME for the bean itself and the beans that are referenced. Kind of like putting the cart before the horse :-) William Ferguson Technical Lead - Workflow Functionality Versata, Inc. "Business Logic Development and Management" Ph +61 03 9428 0788 Fax +61 03 9428 0786 Email [EMAIL PROTECTED] www.versata.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
