GWT Storage

GWT Client-side Web Storage extension

License

License

Categories

Categories

GWT (Google Web Toolkit) User Interface Web Frameworks
GroupId

GroupId

com.seanchenxi.gwt
ArtifactId

ArtifactId

gwt-storage
Last Version

Last Version

1.4.3
Release Date

Release Date

Type

Type

jar
Description

Description

GWT Storage
GWT Client-side Web Storage extension
Project URL

Project URL

https://github.com/seanchenxi/gwt-storage
Project Organization

Project Organization

seanchenxi.com
Source Code Management

Source Code Management

https://github.com/seanchenxi/gwt-storage

Download gwt-storage

How to add to project

<!-- https://jarcasting.com/artifacts/com.seanchenxi.gwt/gwt-storage/ -->
<dependency>
    <groupId>com.seanchenxi.gwt</groupId>
    <artifactId>gwt-storage</artifactId>
    <version>1.4.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.seanchenxi.gwt/gwt-storage/
implementation 'com.seanchenxi.gwt:gwt-storage:1.4.3'
// https://jarcasting.com/artifacts/com.seanchenxi.gwt/gwt-storage/
implementation ("com.seanchenxi.gwt:gwt-storage:1.4.3")
'com.seanchenxi.gwt:gwt-storage:jar:1.4.3'
<dependency org="com.seanchenxi.gwt" name="gwt-storage" rev="1.4.3">
  <artifact name="gwt-storage" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.seanchenxi.gwt', module='gwt-storage', version='1.4.3')
)
libraryDependencies += "com.seanchenxi.gwt" % "gwt-storage" % "1.4.3"
[com.seanchenxi.gwt/gwt-storage "1.4.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.commons : commons-text jar 1.6

provided (2)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.8.2
com.google.gwt : gwt-dev jar 2.8.2

Project Modules

There are no modules declared in this project.

GWT Storage

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.

Key features

  • 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

Coming new features:

Stable version, v1.4.0

Previous Versions

Use gwt-storage in your project

Maven Configuration

Find the the available jars in Maven Central

Release:

<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>

Snapshot:

<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>

License

Apache License, Version 2.0

Feedback

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 [email protected]

Versions

Version
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.1
1.2.0