Public Courses

Temporal 101 with Java (101_java)


Description
In this course, you will explore the basic building blocks of Temporal: Workflows and Activities. You’ll use these building blocks along with Temporal's Java SDK to develop a small application that communicates with an external service. You'll see how Temporal helps you recover from failures and explore Temporal's execution model and event history. You'll use the Temporal Web UI and Temporal’s command-line tools to explore and interact with your Workflows, and you'll use what you've learned to add new features to your existing Workflow.

When you've completed the course, you'll be able to:

- Configure an environment for developing Temporal Applications
- Use Temporal to describe and implement a business process
- Interpret Temporal's Workflow execution model
- Use Temporal’s tooling to manage the lifecycle of your application

Prerequisites:

To be successful in this course, you should have experience writing backend applications that rely on external APIs.

This course uses the Java programming language. Although the code examples and hands-on exercises are written in Java, they include explanations and avoid advanced language features, so a developer with minimal Java experience should be able to successfully complete this course.

Programming Language: Java Number of hours: 2

Content
  • CHAPTER 1: ABOUT THIS COURSE
  • Welcome
  • Meet the Instructors
  • Format and Duration
  • Course Outcomes
  • Exercise Environment Orientation
  • (Optional activity) Setting Up a Local Development Environment
  • Course Conventions
  • Getting Help
  • CHAPTER 2: WHAT IS TEMPORAL?
  • Chapter 2 Goals
  • Introducing Temporal
  • What is a Workflow?
  • Workflow Examples
  • Architectural Overview
  • Options for Running a Temporal Cluster
  • Integrating Temporal into Other Applications
  • Temporal SDKs
  • Temporal Command-Line Interface: temporal
  • CHAPTER 3: DEVELOPING A WORKFLOW
  • Chapter 3 Goals
  • Writing a Workflow Definition
  • Input Parameters and Return Values
  • Initializing the Worker
  • CHATPER 4: EXECUTING A WORKFLOW
  • Chapter 4 Goals
  • Executing a Workflow from the Command Line
  • Hands-On Exercise #1: Hello Workflow
  • Exercise #1 Recap: Hello Workflow
  • Executing a Workflow from Application Code
  • CHAPTER 5: VIEWING WORKFLOW EXECUTION HISTORY
  • Chapter 5 Goals
  • Viewing Workflow History with the Temporal CLI
  • Viewing Workflow History from the Web UI
  • Hands-On Exercise #2: Hello Web UI
  • Chapter 6: Modifying An Existing Workflow
  • Chapter 6 Goals
  • Making Changes to a Workflow
  • Restarting the Worker Process
  • Chapter 7: Developing an Activity
  • Chapter 7 Goals
  • What Are Activities?
  • Registering Activities
  • Executing Activities
  • Using Appropriate Timeouts
  • Chapter 8: Handling Activity Failure
  • Chapter 8 Goals
  • How Temporal Handles Activity Failure
  • Activity Retry Policy Example
  • Hands-On Exercise #3: Farewell Workflow
  • Chapter 9: Understanding Workflow Execution
  • Chapter 9 Goals
  • About This Example
  • Code Walkthrough
  • Chapter 10: Conclusion
  • Chapter 10 Goals
  • Essential Points
  • Hands-On Exercise #4: Finale Workflow
  • Parting Words
  • For More Information
Completion rules
  • All units must be completed