What is the AWS Flow Framework for Java?
Amazon Simple Workflow Service (Amazon SWF) provides a powerful and flexible way for developers to implement distributed asynchronous workflow applications. The AWS Flow Framework is a programming framework that simplifies the process of implementing a distributed asynchronous application while providing all the benefits of Amazon SWF. It is ideal for implementing applications to address a broad range of scenarios including business processes, media encoding, long-running tasks, and background processing.
With the AWS Flow Framework, you can focus on implementing your workflow logic. Behind the scenes, the framework uses the scheduling, routing, and state management capabilities of Amazon SWF to manage your workflow's execution and make it scalable, reliable, and auditable. AWS Flow Framework-based workflows are highly concurrent. The workflows can be distributed across multiple components, which can run as separate processes on separate computers and be scaled independently. The application can continue to progress if any of its components are running, making it highly fault tolerant.
What's in this Guide?
This is the AWS Flow Framework for Java Developer Guide, which aims to provide you with information about how to install, set up, and use the Flow Framework to develop Amazon SWF applications.
Here is a guide to the contents:
- Getting Started with the AWS Flow Framework for Java
-
If you are just starting out with the AWS Flow Framework for Java, you should first read through the Getting Started with the AWS Flow Framework for Java section. It will guide you through downloading and installing the AWS Flow Framework for Java, how to set up your development environment, and lead you through a simple example of creating a workflow using the Flow Framework.
- How AWS Flow Framework for Java Works
-
Introduces basic Amazon SWF and Flow Framework concepts, describing the basic structure of a Flow Framework application and how data is exchanged between parts of a distributed workflow.
- AWS Flow Framework for Java Programming Guide
-
This chapter provides basic programming guidance for developing workflow applications with the AWS Flow Framework for Java, including how to register activity and workflow types, implement workflow clients, create child workflows, handle errors, and more.
- Under the Hood
-
This chapter provides a more in-depth look at the way the AWS Flow Framework for Java works, providing you with additional information about the order of execution of asynchronous workflows and a logical step-through of a standard workflow execution.
- Troubleshooting and Debugging Tips
-
This chapter provides information about common errors that you can use to troubleshoot your workflows, or that you can use to learn to avoid common errors.
- AWS Flow Framework for Java Reference
-
This chapter is a reference to the Annotations, Exceptions and Packages that the AWS Flow Framework for Java adds to the SDK for Java.
- Document History
-
This chapter provides details about major changes to the documentation. New sections and topics as well as significantly revised topics are listed here.
About Amazon Web Services
Amazon Web Services (AWS) is a collection of digital infrastructure
services that developers can leverage when developing their applications.
The services include computing, storage, database, and application
synchronization(messaging and queuing). AWS uses a pay-as-you-go service model.
You are charged only for the services that you—or your applications—use.
Also, to make AWS more approachable as a platform for prototyping and
experimentation, AWS offers a free usage tier. On this tier, services are free below
a certain level of usage. For more information about AWS costs and the Free Tier, see
Test-Driving AWS in the Free Usage Tier.
To obtain an AWS account, open the
AWS home page