User guide
Using Amazon Web Services with
the AWS SDK for Java
This section provides information about how to program various Amazon Web Services using the SDK
for Java.
Topics
• Programming DynamoDB with the AWS SDK for Java (p. 23)
• Programming Amazon EC2 with the AWS SDK for Java (p. 26)
• Getting Temporary AWS Credentials with SWS STS (p. 61)
• Programming Amazon SWF with the AWS SDK for Java (p. 64)
Programming DynamoDB with the AWS SDK for
Java
This section provides information specific to programming DynamoDB with the SDK for Java.
Topics
• Manage Tomcat Session State with DynamoDB (p. 23)
Manage Tomcat Session State with DynamoDB
Tomcat applications often store session-state data in memory. However, this approach doesn't scale
well; once the application grows beyond a single web server, the session state must be shared between
servers. A common solution is to set up a dedicated session-state server with MySQL. This approach
also has drawbacks: you must administer another server, the session-state server is a single pointer of
failure, and the MySQL server itself can cause performance problems.
DynamoDB, a NoSQL database store from Amazon Web Services (AWS), avoids these drawbacks by
providing an effective solution for sharing session state across web servers.
Version v1.0.0
23
AWS SDK for Java Developer Guide
DynamoDB