Amazon DynamoDB Session Manager for Tomcat

The Amazon DynamoDB Session Manager for Tomcat provides a custom session manager for Tomcat 7 that stores session data in Amazon DynamoDB, Amazon's fully managed NoSQL database service.

License

License

Categories

Categories

Tomcat Container Application Servers AWS PaaS Providers
GroupId

GroupId

com.amazonaws
ArtifactId

ArtifactId

aws-dynamodb-session-tomcat
Last Version

Last Version

2.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

Amazon DynamoDB Session Manager for Tomcat
The Amazon DynamoDB Session Manager for Tomcat provides a custom session manager for Tomcat 7 that stores session data in Amazon DynamoDB, Amazon's fully managed NoSQL database service.
Project URL

Project URL

https://aws.amazon.com/java
Source Code Management

Source Code Management

https://github.com/aws/aws-dynamodb-session-tomcat.git

Download aws-dynamodb-session-tomcat

How to add to project

<!-- https://jarcasting.com/artifacts/com.amazonaws/aws-dynamodb-session-tomcat/ -->
<dependency>
    <groupId>com.amazonaws</groupId>
    <artifactId>aws-dynamodb-session-tomcat</artifactId>
    <version>2.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.amazonaws/aws-dynamodb-session-tomcat/
implementation 'com.amazonaws:aws-dynamodb-session-tomcat:2.0.4'
// https://jarcasting.com/artifacts/com.amazonaws/aws-dynamodb-session-tomcat/
implementation ("com.amazonaws:aws-dynamodb-session-tomcat:2.0.4")
'com.amazonaws:aws-dynamodb-session-tomcat:jar:2.0.4'
<dependency org="com.amazonaws" name="aws-dynamodb-session-tomcat" rev="2.0.4">
  <artifact name="aws-dynamodb-session-tomcat" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.amazonaws', module='aws-dynamodb-session-tomcat', version='2.0.4')
)
libraryDependencies += "com.amazonaws" % "aws-dynamodb-session-tomcat" % "2.0.4"
[com.amazonaws/aws-dynamodb-session-tomcat "2.0.4"]

Dependencies

provided (1)

Group / Artifact Type Version
org.apache.tomcat : tomcat-catalina jar 8.0.1

test (6)

Group / Artifact Type Version
org.mockito : mockito-core jar 1.10.19
junit : junit jar 4.12
com.amazonaws : aws-java-sdk-test-utils jar 1.10.63
org.hamcrest : hamcrest-all jar 1.3
org.apache.tomcat.embed : tomcat-embed-core jar 8.0.1
org.apache.tomcat.embed : tomcat-embed-jasper jar 8.0.1

Project Modules

There are no modules declared in this project.

This project has been archived.

https://github.com/magro/memcached-session-manager is a viable alternative to this project and supports non-sticky sessions and realtime session persistence. It can be used with Amazon Elasticache. You may also fork this implementation and maintain your own version of the DynamoDB Session Manager.

Amazon DynamoDB Session Manager for Apache Tomcat

Usage Information

This project builds on top of the AWS SDK for Java to provide a session manager for Tomcat 7 that persists session data in Amazon DynamoDB.

You can download release builds of the session manager through the [releases section of this project] (https://github.com/aws/aws-dynamodb-session-tomcat/releases).

For more information on using the session manager, see the [session manager section in the AWS SDK for Java Developer Guide] (http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-tomcat-session-manager.html).

Developer Information

You can check out the source for the session manager here, and build it with Maven.
The official release builds use JarJar to package all the dependencies in the session manager jar (to provide an easy, one-jar install) and rename classes (to avoid exposing the SDK code to all web apps running in Tomcat). To run with a development build, you'll need to copy the SDK third-party dependencies into your Tomcat install's lib directory.

If you encounter problems with the session manager, feel free to report them as GitHub issues for this project.

If you'd like to contribute a new feature or bug fix, we'd love to see GitHub pull requests from you!

com.amazonaws

Amazon Web Services

Versions

Version
2.0.4
2.0.3
2.0.2
2.0.1
1.0.3
1.0.2