Amazon SWF Examples Using the Amazon SDK for Java - Amazon SDK for Java 1.x
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

We announced the upcoming end-of-support for Amazon SDK for Java (v1). We recommend that you migrate to Amazon SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Amazon SWF Examples Using the Amazon 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 Amazon SDK for Java, by using the SWF client object, or by using the Amazon Flow Framework for Java. The Amazon 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 Amazon Flow Framework for Java. For more information, see the Amazon Flow Framework for Java Developer Guide.

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