Re: Problem with serializing Date in map

2009-07-29 Thread Juraj Vitko
The problem with 'Object' stuffed into a type you send via RPC is, that you can then use this 'Object' to transfer only types otherwise found and thus known by the RPC registry. You can create a dummy function in your RPC service, give it a parameter class Dummy, and in this class you can

Re: Problem with serializing Date in map

2009-07-28 Thread Sumit Chandel
Hi ramraj, You will run into problems sending a MapString,Object through GWT RPC because the map's values don't respect the conditions for serialization through GWT RPC (see Serializable Types documentation below). The Date class, on the other hand, is supported and can be serialized in GWT RPC.

Problem with serializing Date in map

2009-07-24 Thread ramraj
Hi all, I am new to this rpc,i facing a problem with Date type,I have one methods that takes MapString,Object argument,when i am trying to send to Date as value for that map i am getting exception like java.lang.reflect.InvocationTargetException java.lang.AssertionError: Not enough methods,