Try to specify link="./fubar.jar#bar"
Due to a bug in the template, it looks like you also have to specify view-type="remote" I don't think it will generate correctly if you want to ejb-link to a local bean in a differnet jar. This is legal according to the EJB 2.0 fr2 spec 20.3.2. -Anyway, this looks like a bug. I'll try to fix it for the next release. Docs are bad too (they don't mention the link and view-type parameters) For more insight about how this works, locate the ejb-body.j file and look around the lines 146-176. HTH, Aslak > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Tim McCune > Sent: 21. mai 2002 14:47 > To: [EMAIL PROTECTED] > Cc: Daniel Bratell; [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] newbie : how to generate ejb-local-ref in dd > ? > > > The problem with that approach is that ejb-external-ref won't generate > an ejb-link tag. > > On Tue, 2002-05-21 at 08:11, J. Matthew Pryor wrote: > > After having some difficulty getting refs & local refs to work, > I discovered > > that if you are referring to an EJB that is not part of the > current set of > > files being processed by XDoclet, it will not work. You have to use > > ejb-external-ref and manually specify the home & interface classes. > > > > Perhaps this is your problem ? > > > > jmp > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel > > > Bratell > > > Sent: Tuesday, May 21, 2002 5:15 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Xdoclet-user] newbie : how to generate > ejb-local-ref in dd > > > ? > > > > > > > > > At 11:37 2002-05-19 -0700, [EMAIL PROTECTED] wrote: > > > >I want to generate the following tag in deployment descriptor ? But I > > > >couldn't find any @ejb : ejb-local-ref standard tag to include > > > in my bean > > > >to generate the tag below in my dd. Is there a tag I'm not aware > > > of which > > > >might help me resolve this problem. Thanks all for feedback. > > > > > > I'm using this with great success: > > > > > > * @ejb.ejb-ref > > > * ejb-name="FlowChart" > > > * view-type="local" > > > * ref-name="ejb/FlowChartLocal" > > > * > > > > > > But maybe I misunderstood you. > > > > > > /Daniel > > > > > > > > > > > > _______________________________________________________________ > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > > > _______________________________________________ > > > Xdoclet-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
