A simple GWT Client-Side HTML5 Web Storage API.
This project aims to extend the GWT Client-side Storage API, by adding Object Value support.
- Storing Java Object in HTML5 Web Storage (localStorage or sessionStorage)
- Support all java types that meet the requirements of GWT RPC serialization (implements java.io.Serializable, etc...)
- Client side Java Object serialization. By reusing the GWT RPC object serialization framework. Means, all objects used in GWT RPC service will be automatically persistable in localStorage or sessionStorage. No more code/serializer generation.
- Customizing the list of web storage persistable type with XML file.
- Extensible caching possibility to avoid repeating serialization/deserialization
- Server side data serialization [#8] (#8), thanks to [Freddy Boucher] (https://github.com/freddyboucher) and Richard Wallis
- Value record priority, thanks to Richard Wallis
- Data encryption
- Data compression
- Data recovering tools
- Getting Started: Getting Started
- Javadoc: v1.4.0
- Javadoc SNAPSHOT v1.4.1-SNAPSHOT
Find the the available jars in Maven Central
<dependency>
<groupId>com.seanchenxi.gwt</groupId>
<artifactId>gwt-storage</artifactId>
<version>1.4.0</version>
<scope>provided</scope>
<!--
If you want to do sever side object2string serialization,
you should change the scope to compile
-->
</dependency>
<repositories>
<repository>
<id>sonatype.snapshots</id>
<name>Sonatype snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<layout>default</layout>
</repository>
</repositories>
<dependency>
<groupId>com.seanchenxi.gwt</groupId>
<artifactId>gwt-storage</artifactId>
<version>1.4.1-SNAPSHOT</version>
<scope>provided</scope>
<!--
If you want to do sever side object2string serialization,
you should change the scope to compile
-->
</dependency>
If you're using gwt-storage in your project, please let me know how useful (or not) this library is to you and what you think. Suggestions are always welcome. Send me an email at xi@seanchenxi.com