Amazon SWF Examples Using the AWS SDK for Java - AWS SDK for Java 1.x

The AWS SDK for Java 1.x has entered maintenance mode as of July 31, 2024, and will reach end-of-support on December 31, 2025. We recommend that you migrate to the AWS SDK for Java 2.x to continue receiving new features, availability improvements, and security updates.

Amazon SWF Examples Using the AWS SDK for Java

Amazon SWF is a workflow-management service that helps developers build and scale distributed workflows that can have parallel or sequential steps consisting of activities, child workflows or even Lambda tasks.

There are two ways to work with Amazon SWF using the AWS SDK for Java, by using the SWF client object, or by using the AWS Flow Framework for Java. The AWS Flow Framework for Java is more difficult to configure initially, since it makes heavy use of annotations and relies on additional libraries such as AspectJ and the Spring Framework. However, for large or complex projects, you will save coding time by using the AWS Flow Framework for Java. For more information, see the AWS Flow Framework for Java Developer Guide.

This section provides examples of programming Amazon SWF by using the AWS SDK for Java client directly.