I'm jumping in a little late on this but I ran into what _sounds_ like a
similar problem. When I switched to 1.1 the following method tags would
cause only the "first" tag interface to generate. If I switched them I'd
get the "local" interface - in this example.
* @ejb:interface-method type="remote"
* @ejb:interface-method type="local"
I think the change was to just mark it as an interface method and let the
ant subtask control the generation - which made sense to me.
* @ejb:interface-method
Tim Kuntz
The Pampered Chef
[EMAIL PROTECTED]
> -----Original Message-----
> From: Miguel Sanchez [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, January 21, 2002 2:56 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] session bean's local interfaces
>
> My bean implements SessionBean, I do not need </session> enabled and I
> won't
> agree with your comment on @ejb:home generate until the documentation
> does.
>
> Once again:
>
> I'm using XDOCLET 1.1 and getting entity 2.0 beans perfectly generated
> with
> local interfaces. However, with my (stateless) session beans I can get
> XDOCLET only to generate non-local interfaces. But I WANT LOCAL
> INTERFACES
> !!!
>
> Can anyone provide me working class level comments ? Would be great !!
>
> Mige
>
>
>
> I tried it with the TellerBean tags
>
> Ara Abrahamian schrieb:
>
> > See TellerBean in samples and follow it. Maybe the bean doesn't
> > implement SessionBean? If <session/> is enabled, then the bean should be
> > abstract, if not the bean shouldn't be abstract.
> >
> > @ejb:home generate="local" is wrong, generate="true|false", but if you
> > disable it then make sure you use class="com.foo.MyHome".
> >
> > Ara.
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> > > [EMAIL PROTECTED]] On Behalf Of Miguel Sanchez
> > > Sent: Monday, January 21, 2002 1:48 PM
> > > To: Dmitri Colebatch; [EMAIL PROTECTED]
> > > Subject: Re: [Xdoclet-user] session bean's local interfaces
> > >
> > > Here we go:
> > >
> > > /**
> > > *
> > > * @author Miguel Sanchez
> > > *
> > > * @ejb:bean
> > > * type="Stateless"
> > > * name="fooManagement"
> > > * jndi-name="fooManagement"
> > > * local-jndi-name="fooManagementLocal"
> > > * view-type="local"
> > > *
> > > */
> > >
> > > I also tried it with the following additional tags
> > >
> > >
> > > * @ejb:home
> > > * generate="local"
> > > *
> > > * @ejb:interface
> > > * generate="local"
> > > */
> > >
> > >
> > > What do you mean with sessioninterface subtask ?
> > >
> > > Isn't
> > >
> > > ...
> > > <localinterface/>
> > > <localhomeinterface/>
> > > ...
> > >
> > > enough ?
> > >
> > >
> > > Thanx,
> > >
> > > Mige
> > >
> > >
> > >
> > > Dmitri Colebatch wrote:
> > >
> > > > should work fine. Things to check are:
> > > > - have the sessioninterface subtask
> > > > - have the correct ejb:bean and ejb:interface tags
> > > >
> > > > if you want to post your class level comments, that might shed some
> > more
> > > > light - but I can assure you they work fine (o:
> > > >
> > > > cheers
> > > > dim
> > > >
> > > > ----- Original Message -----
> > > > From: "Miguel Sanchez" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Monday, January 21, 2002 8:49 PM
> > > > Subject: [Xdoclet-user] session bean's local interfaces
> > > >
> > > > > Hi,
> > > > >
> > > > > I'm currently testing xdoclet 1.1 for generating EJBs. With entity
> > > beans
> > > > > it works great. However, I cannot get xdoclet to generate local
> > > > > interfaces for session bean classes.
> > > > > Has anyone made the same experience ?
> > > > >
> > > > > For discussion:
> > > > > I think it's extremely important for a tool like XDOCLET to
> > support
> > > the
> > > > > whole EJB specification correctly. If not, once you have to adjust
> > > > > something manually you won't be able to easily regenerate your
> > stuff
> > > > > without losing your manual changes and even worse you would have
> > to
> > > make
> > > > > all further changes manually.
> > > > >
> > > > > Mige
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Xdoclet-user mailing list
> > > > > [EMAIL PROTECTED]
> > > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> > >
> > >
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user