On Tue, 21 Aug 2001, Andrew Stevens wrote:

> A wise old hermit known only as Dmitri Colebatch <[EMAIL PROTECTED]> once 
well thank you for the introduction (o:  lol

> >  *
> >  *   @ejb:interface generate="both" 
> >  *                  remote-class="test.interfaces.remote.Account" 
> >  *                  local-class="test.interfaces.local.Account"
> >  *   @ejb:home      generate="both"
> >  *                  remote-class="test.interfaces.remote.AccountHome"
> >  *                  local-class="test.interfaces.local.AccountHome"
> >  *   @ejb:pk        generate="true"
> >  *                  class="test.interfaces.AccountPK"
> >  *
> > 
> > generate can be both|local|remote|none - both being default.  ditto for
> > home.  I'm just going to change the relevant subtasks to set and unset 
> > the relevant patterns... trust that all sounds reasonable.
> 
> Though not if ejbspec is set to 1.1, in which case remote should be the 
> default (unless, of course, the home generation task quits without doing 
> anything anyway for 1.1?)
> Also, like Ara, I prefer "local,remote" rather than "both".
> And lastly, I'd like a default (also "local,remote"?) on @interface-method 
> so I don't need to include the view-type parameter on every method, just 
> those that are unusual.

all these comments are is instructions for what to, and not to,
generate.  If you run ejb1.1 and have @ejb:interface
remote-class="test.interfaces.Account" and nothing else, then it will
generate the remote, but not the local.  The reason is that there is a
check before any of this based on the view-type parameter of @ejb:bean.  

I'll change to local,remote tonight (maybe... might be late home and not
have a chance, definately tomorrow).  today's task is to find out where
we're at with websphere...

cheesr
dim


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to