Ian, Thanks for the explanation. That helps me understand quite a bit now. It also spurs another question which is more directly related to my current scenario. In my current application to which I'm trying to integrate GWT, we use XmlBeans for passing data along. I do believe xml beans are serializable. So, then 1) Can i use these beans just as well to communicate via the GWT-RPC to my client now? 2) If yes, then what would I require for this to be successfully compiled and translated into javascript for the client code. What I do is first generate the xml beans and jar them up (the class files) to use within the current application. Additionally, the source code for these xml beans is also generated just for any reference sake but is not part of the jar. Do i need both the source as well as the class files in order to be able to implement the beans in the GWT-RPC or would referencing the classpath to the src code for the beans be sufficient?
Thanks again. On Oct 16, 2:47 pm, sim123 <[EMAIL PROTECTED]> wrote: > Yes. > > On Oct 16, 11:26 am, Suri <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm trying to write a service that will return objects to be used at > > the client side. I understand that I'll need to create transfer > > objects essentially implementing the isSerializable interface so that > > GWT can correctly compile and use them. Since, I'm aware that only > > primitive types or wrappers of primitive types and collections of > > these can be passed along or custom classes that only have such > > instance variables, my question is this: > > > If I have 2 objects > > > X implements isSerializable > > - int > > - String > > - HashMap<String, String> > > > Y implements isSerializable > > - int > > - String > > - List<X> > > > Can Y be passed successfully using the GWT RPC mechanism? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
