Well, for checking some business logic or doing some validation or
whatever you may not want to let remote clients use setData, though I
don't think there's a reason for hiding getData and show setData!
getData -> always
setData -> if you let it
Ara.
> -----Original Message-----
> From: Dave Smith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 05, 2001 6:50 PM
> To: Ara Abrahamian
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-devel] remote.j with CMP 2.0
>
> I would like to ask the audience Regis ..
>
> My humble opinion is the bulk accessor is for sending/receiving data
> over the wire. If you do not need it you do not have to generate the
> entitycmp in the first place. The only case I can think of when an
> entity bean is read only in which case the conatiner will solve that
> problem
>
> Audience ..
>
> Ara Abrahamian wrote:
>
> >>Should the setaData and getData not be remote methods? The whole
> >>
> > purpose
> >
> >>is to do a bulk transfer of the data over the wire. So I added
> >>
> >
> > Maybe you want getData but not setData to be remote and vice versa.
> >
> >
> >><XDoclet:ifIsWithDataContainer>
> >> <XDoclet:ifIsWithDataMethod>
> >> public void setData( <XDoclet:dataObjectClass/>) throws
> >>java.rmi.RemoteException;
> >> public <XDoclet:dataMostSuperObjectClass/> getData()
> >>
> > throws
> >
> >>java.rmi.RemoteException;
> >> </XDoclet:ifIsWithDataMethod>
> >> </XDoclet:ifIsWithDataContainer>
> >>
> >>
> >>just for refernece
> >> </XDoclet:ifDoesntHaveClassTag>
> >>
> >>
> >>But <XDoclet:dataObjectClass/> and
<XDoclet:dataMostSuperObjectClass/>
> >>return null
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>Xdoclet-devel mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >>
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel