Re: serialization to history - bad idea?

2009-04-22 Thread Salvador Diaz
I'm not sure I understand what you're trying to do, but it seems to me that you want to use those classes client-side so you might want to look at the JRE emulation reference: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html You'll realize that it's not possible. If you really want

Re: serialization to history - bad idea?

2009-04-22 Thread Arthur Kalmenson
I guess serializing objects and storing them in the history could work. However, there might be a mismatch in the Writer and Reader. GWT-RPC serialization to the server is a binary pipe delimited format, while the server returns optimized JSON. The GWT-RPC request looks something like this (...

serialization to history - bad idea?

2009-04-21 Thread Keith
Do you think is it a bad idea to use SerializationStreamWriter and SerializationStreamReader to write an object's state to the history? It seems like it would be a more convenient way to go than for me to try to write my own methods for doing this. I guess it could be a problem if I blow past the