Re: Server-only functions

2009-09-28 Thread Asko Saura
On Sep 16, 10:13 am, Asko Saura wrote: > I've got a bunch of DTOs which include some housekeeping methods used > by another framework, which I use on the server side. Getting to reuse > these objects on the client side would be absolutely great. I can't > use them now,

Re: Server-only functions

2009-09-17 Thread Asko Saura
On Sep 16, 5:22 pm, Sripathi Krishnan wrote: > Its up to you to implement it, but I would advise you not to do so. > > Assume you have a DTO which includes two functions - void serverSideOnly() > and void clientSideFunction(). > > You would now have to guarantee that clientSideFunction() doesn't

Re: Server-only functions

2009-09-16 Thread Asko Saura
On Aug 27, 3:03 am, Christophe wrote: > If I were to create a patch that followed the @ArtificialRescue > principle but with a "@ServerOnly" annotation name that was valid on a > method and submitted it, do you think it has a chance of getting > accepted ? I don't know about the GWT development