I just tried using deRPC and am running into a problem since deRPC
doesn't invoke the default constructor upon deserialization.  I have a
class like this:

public class SomeClass {
  private transient CarouselText carouselText;

  private SomeClass() {
    carouselText = (CarouselText) GWT.create(CarouselText.class);
  }
...
}

Since the default constructor isn't invoked when using deRPC, the
carouselText field of my object never gets instantiated and my client
code eventually runs into an NPE.

How should I handle this scenario with deRPC?  I have read this
document, http://code.google.com/p/google-web-toolkit/wiki/RpcDirectEval,
and am still not clear.

Thanks,
Peter

-- 
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.

Reply via email to