No, there's no way to mark only part of a class for server-side. You can use different versions of a class in the client and server by using the super-source technique though. That would mean having two different implementations of the same class.
João Ferreira wrote: > Hi all > > I have this DTO that i use in my GWT RPCs but also in other parts of > my application. > > I had to improve the (java) serialization performance and now this > class implements externalizable. In my serialization methods i use > GzipStream to compress and uncompress the serialzed strem. > > I know that this custom serialization is not used in in GWT > serialization, however now i cant GWT compile this class due to the > Gzip imports. > > My question is: there is any solution to be able to continue using > this class in GWT RPC by excluding the new methods from GWT > compilation? > > Thanks > João Ferreira > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
