I think @ejb:interface generate="local" is wrong. I am not able to verify that right now. "true" or "false" are the valid options. Doc may be wrong here :( Do not use any ejb:interface until you need it. If you want only "local" access to your bean put view-type="local" on ejb:bean instead.
Vincent > Hi, > > thanks for the response. I�ve done as you said but for some reason my > local interface still isn�t being generated. Here�s the changes I > made: > > ================================================= > * @see Customer gbEntries are owned by gbUsers, and a gbUser can > * have many gbEntries. > * > * @ejb:bean name="guestbook/gbEntry" > * type="CMP" > * jndi-name="ejb/guestbook/gbEntry" > * @ejb:finder signature="Collection findAll()" > * unchecked="true" > * @ejb:interface generate="local" > package="com.morelogs.guestbook.interfaces.local" > * @ejb:pk class="com.morelogs.guestbook.interfaces.pk.gbEntryPK" > * > * @ejb:data-object package="com.morelogs.guestbook.dao" > * @jboss:table-name gbEntries > * @jboss:data-source-name ejbGuestbookDS > * @jboss:persistence > > Above method: > ========== > /** > * @return name of this gbEntry > * > * @ejb:interface-method view-type="local" > * @ejb:persistent-field > * @jboss:column-name entry_name > > ====================================================== > > Thanks for your help, > > Michael > > > > > ----- Original Message ----- > From: "Vincent Harcq" <[EMAIL PROTECTED]> > To: "Michael Delamere" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, May 24, 2002 12:11 AM > Subject: Re: [Xdoclet-user] local interface not generated > > >> local-class and emote-class are there to avoid the generation and >> force > the >> use of existing interfaces. >> If you want the IF to be generated, remove these lines >> Vincent >> >> ----- Original Message ----- >> From: "Michael Delamere" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Thursday, May 23, 2002 10:26 PM >> Subject: [Xdoclet-user] local interface not generated >> >> >> > Hi, >> > >> > Could someone help me in creating my local-interface please. I get >> > the message "[ejbdoclet] Running <localInterface/>" but no interface >> > is >> actually >> > being generated. >> > >> > I have stated the follwong in my xdoclet-class: >> > >> > * @ejb:interface > remote-class="com.morelogs.guestbook.interfaces.gbEntry" >> > * >> > local-class="com.morelogs.guestbook.interfaces.gbEntryLocal" >> > * generate="local, remote" >> > >> > >> > and above the methods I have stated: >> > >> > * @ejb:interface-method view-type="both" >> > >> > What could I be doing wrong? >> > >> > Any help would be appreciated. >> > >> > Thanks, >> > >> > Michael >> > >> > >> > _______________________________________________________________ >> > >> > 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
