Hey Chris, This would not do any magic to handle serialization between the client and server versions of the types. While you might be able to make something work out here, it would definitely not be supported behavior (as we've not thought through this use case).
Rajeev On Mon, Feb 22, 2010 at 1:35 PM, Chris Lercher <[email protected]>wrote: > Cool, does this also allow for serialization between client and server > version out of the box, or will this require any special additional > serialization code? > > BTW, this would probably solve the issues in this thread about reusing > TopLink objects etc on the client: > > > http://groups.google.com/group/google-web-toolkit/browse_thread/thread/71e0e7ca92425ad/c69170c5c1121504 > > > > On Feb 22, 7:14 pm, Rajeev Dayal <[email protected]> wrote: > > I think you can achieve this by using GWT's <super-source> mechanism: > > > > http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... > > > > > > > > On Fri, Feb 19, 2010 at 2:48 PM, Tim K <[email protected]> wrote: > > > I have a server version of a class in one jar, and a client version of > > > the class in another. The client version is restricted to JRE > > > emulation, while the server version can use the entire JRE. Can the > > > google plug-in for eclipse be configured to use the server jar for the > > > server code and the client jar for the client code? > > > > > *** Server jar *** > > > class X { > > > X() { ... } > > > X( File directory ) { ..... } > > > ... > > > > > *** Client jar *** > > > class X { > > > X() { ... } > > > // Can't access a file on client side, so disable this constructor > > > // X( File directory ) { ..... } > > > ... > > > > > Regards, > > > Tim K > > > > > -- > > > 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]<google-web-toolkit%[email protected]><google-web-toolkit%2Bunsubs > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
