XDoclet should 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-external-ref) tag and an appserver tag to bind the
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 you must manually
include a second String specifying the same
declared in the ejb-ref tag in BeanA's header.
It seems sensible 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 it (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 :-)