Hi all, I am trying to make sense of XDoclets ibm-ejb-jar-bnd.xmi generation. I have an ejb with the following xdoclet markup:
EnquiryControllerBean.java: * @ejb.ejb-ref ejb-name = "EnquiryInsert" ref-name = "ejb/EnquiryInsertLocal" view-type = "local" * @ejb.ejb-ref ejb-name = "Redemption" ref-name = "ejb/RedemptionLocal" view-type = "local" The markup in each of those beans is as follows: EnquiryInsertBean.java: * @ejb.bean name="EnquiryInsert" * display-name="EnquiryInsert" * description="Controls insertation of new enquiries" * type="Stateless" * view-type="local" * local-jndi-name = "consumer/EnquiryInsertLocal" RedemptionBean.java: * @ejb.bean name="Redemption" * display-name="Redemption" * description="redemption" * type="Stateless" * view-type="local" * local-jndi-name = "consumer/RedemptionLocal" This produces the following in the ibm-ejb-jar-bnd.xmi: <ejbBindings xmi:id="Session_bnd_13" jndiName="consumer/EnquiryControllerLocal"> <enterpriseBean xmi:type="com.ibm.etools.ejb:Session" href="META-INF/ejb-jar.xml#Session_EnquiryController"/> <ejbRefBindings xmi:id="EJBRefBnd_8" jndiName="consumer/EnquiryInsertLocal"> <bindingEjbRef xmi:type="com.ibm.etools.j2ee.common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_8"/> </ejbRefBindings> <ejbRefBindings xmi:id="EJBRefBnd_9" jndiName="RedemptionLocal"> <bindingEjbRef href="META-INF/ejb-jar.xml#EJBRef_4"/> <bindingEjbRef xmi:type="com.ibm.etools.j2ee.common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_9"/> </ejbRefBindings> ... Why would the RedemptionLocal binding got an extra <bindingEjbRef> element? I presume that I must be missing something here, but just can't see it. Cheers, Anthony Roy This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of HPI Limited. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify [EMAIL PROTECTED] message has been scanned by Anti-Virus. Recipients are advised to apply their own virus checks to this message on delivery. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user