client side data persistency

2009-04-27 Thread rocha.po...@gmail.com
Hi all. I'm writing a GWT application where i would like to keep on the client side a generic metric store - a metric being composed by a date, a name, a value, and belonging to a domain (hierarchical, 'servicetype.servicename.blabla'). There are multiple remote sources for the metrics data,

Re: client side data persistency

2009-04-27 Thread Vitali Lovich
TreeMap is not a persistent store. Cookies are a persistent store. One way would be to serialize/deserialize from a string. Or store directly in cookies the key-value pairs encoded as strings. You may run into problems - there might be limits on the number of cookies a web site can have. It