> On Fri, 24 Aug 2001, Andrew Stevens wrote:
> > > persistent="BMP|CMP" and
> > > persistence-type="(Bean|Container)"
> > >
> > > Do I miss somethiong important, or one of them
> >
> > Other than it probably should have been transaction-type (which is
> > missing), not persistence-type?
> so we dont have transaction-type at all? geez - better look at that
(o:
>
> > I thought the current move was towards type=BMP|CMP (for entity) and
> > Stateful|Stateless (for session)?
> can I confirm we want this? I'm happy to put it in (shouldn't take
long),
> just a concern that "type" would to the new xdoclet user be expected
to be
> session or entity... perhaps stateful="true|false" ... hmm, dunno -
> thinking aloud...
Currently there is:
For session beans:
transaction-type: Container/Bean
type: Stateful/Stateless
For entity beans:
no transaction-type.
persistence-type: Container/Bean
persistent: CMP/BMP
These two items are the same thing really! persistence-type is simply
copied to <persistence-type> body (Container or Bean will be there in
generated file). Persistent is not copied to any element, it's used for
comparison. Because cmp/bmp is more common than container/bean we can
have a single type attribute with CMP and BMP valid values. Obviously
<persistence-type> should have a check around it, if
classTagValueEquals("bmp") -> Container.
So a type attribute for:
Session bean-> valid values = Stateful/Stateless
Entity bean-> valid values = CMP/BMP
transaction-type will be there for session beans only.
Ara.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-devel