https://github.com/temporalio/edu-interacting-with-workflows-java-code
Code exercises for Interacting with Workflows in java
https://github.com/temporalio/edu-interacting-with-workflows-java-code
Last synced: 12 months ago
JSON representation
Code exercises for Interacting with Workflows in java
- Host: GitHub
- URL: https://github.com/temporalio/edu-interacting-with-workflows-java-code
- Owner: temporalio
- License: mit
- Created: 2024-03-11T22:06:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-28T14:56:16.000Z (about 1 year ago)
- Last Synced: 2025-06-27T19:44:23.510Z (about 1 year ago)
- Language: Java
- Size: 159 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code Repository for Interacting with Workflows (Java)
This repository provides code used for exercises and demonstrations
included in the Java version of the
[Interacting with Workflows](https://learn.temporal.io/courses/interacting-with-workflows)
training course.
It's important to remember that the example code used in this course was designed to support learning a specific aspect of Temporal, not to serve as a ready-to-use template for implementing a production system.
For the exercises, make sure to run `temporal server start-dev --ui-port 8080 --db-filename clusterdata.db` in one terminal to start the Temporal server. For more details on this command, please refer to the `Setting up a Local Development Environment` chapter in the course. Note: If you're using the Codespaces environment to run this exercise, you can skip this step.
## Hands-On Exercises
| Directory Name | Exercise |
| :------------------------------------ | :---------------------------------------------------------- |
| `exercises/sending-signals-external` | [Exercise 1](exercises/sending-signals-external/README.md) |
| `exercises/sending-signals-client` | [Exercise 2](exercises/sending-signals-client/README.md) |
| `exercises/querying-workflows` | [Exercise 3](exercises/querying-workflows/README.md) |
| `exercises/async-activity-completion` | [Exercise 4](exercises/async-activity-completion/README.md) |
Samples
Directory Name | Description
:----------------------------------| :---------------------------------------------------------------------------------------------------------------------
`samples/custom-search-attributes` | [Shows a sample of how to use Custom Search Attributes to find queries where the order for pizzas has failed](samples/custom-search-attributes/README.md)
## Reference
The following links provide additional information that you may find helpful as you work through this course.
- [General Temporal Documentation](https://docs.temporal.io/)
- [Temporal Java SDK Documentation](https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/index.html)
- [Java Language Documentation](https://docs.oracle.com/en/java/)
## Exercise Environment for this Course
You can launch an exercise environment for this course using GitHub Codespaces by
following [this](codespaces.md) walkthrough.
Alternatively, you can perform these exercises directly on your computer. Refer to the instructions about setting up a local development environment, which you'll find in the "About this Course" chapter.