I want to create an RPC-method that returns 3 java-objects that can have different types. These types are always Serializable. So I have 2 possible approaches: 1)Create a new class "SomeClass" with properties of these types and return this object: public SomeClass someMethod()...... 2)Retrun Serializable array: public Serializable[] someMethod()......
I prefer the 2) approache, cause I don't like to create new class just to pass objects through RPC. Is it correct to do that from the perspective of GWT? Or I should create a new class every time when I want to pass a cortège of objects of different types? -- 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.
