Hi Jens,
Thanks for your answer, the point here is who owns the contract (interface) server or client? In my perspective is the server, and so this interface could have more than just methods to be expose to client side, in others technologies it can be defined which methods are expose to client, I think it would be interesting to have a way to define interface methods not to be exposed to client side (like a transient annotation). Hope to hear some feedback. Luis. Segunda-feira, 10 de Dezembro de 2012 12:10:31 UTC, Jens escreveu: > > As far as I know you cant send the class Class through GWT-RPC as its not > serializable. So you have to remove your getDtoType() method from your > GWT-RPC interface (and any other method that takes Class as argument) > > As you only want to use the method on server side I am not sure why you > add it to the interface and thus make it part of your public API? > > > -- J. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HV6NwaV_XMUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
