Gavin, should be ok now. Please grab the latest code from cvs. Ara.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of Gavin King > Sent: Friday, December 27, 2002 9:33 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] ibm-ejb-jar-bnd.xmi > > I'm using XDoclet 1.2 beta with WebSphere. I have the following session > beans: > > /** > * A service that executes <tt>Command</tt>s in a particular (remote) > process. > * > * @ejb:bean > * name="CommandHandler" > * type="Stateless" > * jndi-name="ejaf/command/handler" > * display-name="EJAF Command Handler" > * description="EJAF Command Handler" > * > * @ejb:ejb-ref > * ejb-name="IDGenerator" > * view-type="remote" > */ > public abstract class CommandHandlerBean implements SessionBean { > //etc... > } > > > /** > * A service that generates unique identifiers using a hi/lo algorithm. > * > * @ejb:bean > * name="IDGenerator" > * type="Stateless" > * jndi-name="ejaf/id/generator" > * display-name="EJAF ID Generator" > * description="EJAF ID Generator" > * > * @ejb:transaction type="NotSupported" > */ > public abstract class IDGeneratorBean implements SessionBean { > //etc.... > } > > > > XDoclet generates the following in ibm-ejb-jar-bnd.xmi: > > <ejbbnd:EJBJarBinding xmi:version="2.0" > xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" > xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmi:id="ejb-jar_ID_Bnd"> > > <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_1"/> > > <ejbBindings > xmi:id="Session_bnd_1" > jndiName="ejaf/command/handler"> > > <ejbRefBindings xmi:id="EJBRefBnd_1" > jndiName="ejb/IDGenerator"> > <bindingEjbRef href="META-INF/ejb-jar.xml#EJBRef_1"/> > </ejbRefBindings> > > <enterpriseBean > xmi:type="ejb:Session" > href="META-INF/ejb-jar.xml#Session_1" > /> > > </ejbBindings> > > <ejbBindings > xmi:id="Session_bnd_2" > jndiName="ejaf/id/generator"> > > <enterpriseBean > xmi:type="ejb:Session" > href="META-INF/ejb-jar.xml#Session_2" > /> > > </ejbBindings> > > </ejbbnd:EJBJarBinding> > > Now, if I'm not mistaken, this line: > > <ejbRefBindings xmi:id="EJBRefBnd_1" jndiName="ejb/IDGenerator"> > > should be: > > <ejbRefBindings xmi:id="EJBRefBnd_1" jndiName="ejaf/id/generator"> > > > or am I doing something wrong? Any advice? > > Thanks, > > Gavin > http://hibernate.sourceforge.net > > > > ********** CAUTION - Disclaimer ********** > This message may contain privileged and confidential > information. If you are not the intended recipient of this > message (or responsible for delivery of the message to > such person) you are hereby notified that any use, > dissemination, distribution or reproduction of this message > is prohibited. If you have received this message in error, > you should destroy it and kindly notify the sender by reply > e-mail. Please advise immediately if you or your employer > do not consent to Internet e-mail for messages of this kind. > Opinions, conclusions and other information in this > message that do not relate to the official business of > Expert Information Services Pty Ltd ("The Company") > shall be understood as neither given nor endorsed by it. > > The Company advises that this e-mail and any attached > files should be scanned to detect viruses. The Company > accepts no liability for loss or damage (whether caused > by negligence or not) resulting from the use of any > attached files. > **EIS******** End of Disclaimer ********** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
