Morten,
You're very close to answering your own question. Just set view-type="remote" and
you
won't get any local interfaces for that bean.
Enjoy,
Craig
[EMAIL PROTECTED] wrote:
> oops, make that xdoclet1.2b2
>
> and incidently, if i only use view-type="local" i don't get any remote interfaces.
>
> sincerely
> morten wilken
> >-- Original Message --
> >From: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: [Xdoclet-user] xdoclet generates both local and remote classes
> >Date: Tue, 7 Jan 2003 15:54:01 +0100
> >
> >
> >hi all, i am just trying out xdoclet 2.0b2, adn given the following file:
> >
> >import javax.ejb.SessionBean;
> >
> >/**
> > * @ejb:bean name="Test"
> > * jndi-name="jndi/TestBean"
> > * type="Stateless"
> > * viev-type="remote"
> > **/
> >public abstract class TestBean implements SessionBean {
> >
> > /**
> > * @ejb:interface-method
> > * view-type="remote"
> > **/
> > public String getHello() {
> > return ("hello world");
> > }
> >}
> >
> >how can make xdoclet create only the remote interfaces and not the local
> >ones (given that i could have other beans tht needed local interfaces,
> so
> >i cannot remove the <localinterface/> and <localhomeinterface/> from the
> >ant file)
> >
> >hope somebody can help
> >sincerely
> >morten wilken
> >
> >
> >
> >-------------------------------------------------------
> >This SF.NET email is sponsored by:
> >SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> >http://www.vasoftware.com
> >_______________________________________________
> >Xdoclet-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user