Nothing mysterious here. Just as the error says, you're trying to send a type that is not serializable according to GWT RPC rules. The documentation on RPC spells out what's required (link below).
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideSerializableTypes - Isaac On Fri, Nov 14, 2008 at 4:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I can't compile program as below. > When I compiled it, error occured and it says > > [ERROR] Type 'TestManager<TestImpl>' was not serializable and has no > concrete serializable subtypes > > > Is there any problem in the code ? > > thanx > > > public interface ITest { > int getId(); > String getName(); > } > public class TestImpl implements ITest { > public int getId() { > return -1; > } > public String getName() { > return "test"; > } > } > public class TestManager<E extends ITest> { > private List<E> list; > } > > > public interface TestService extends RemoteService { > TestManager<TestImpl> getTest(); > } > public interface TestServiceAsync { > void getTest(AsyncCallback<TestManager<TestImpl>> callback); > } > public class TestServiceImpl extends RemoteServiceServlet implements > TestService { > public TestManager<TestImpl> getTest() { > return null; > } > } > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
