Temporal is a Workflow-as-Code platform for building and operating resilient applications using developer-friendly primitives, instead of constantly fighting your infrastructure.
The Java SDK is the framework for authoring Workflows and Activities in Java. (For other languages, see Temporal SDKs.)
Java SDK:
Temporal in general:
- Java 1.8+
Find the latest release of the Temporal Java SDK at maven central.
Add temporal-sdk as a dependency to your pom.xml:
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>N.N.N</version>
</dependency>
or to build.gradle:
compile group: 'io.temporal', name: 'temporal-sdk', version: 'N.N.N'
Due to issues with default hostname resolution
(see this StackOverflow question for more details),
macOS Users may see gRPC DEADLINE_EXCEEDED
errors and other slowdowns when running the SDK.
To solve the problem add the following entries to your /etc/hosts
file (where my-macbook is your hostname):
127.0.0.1 my-macbook
::1 my-macbook
We'd love your help in improving the Temporal Java SDK. Please review our contribution guidelines.
Copyright (C) 2022 Temporal Technologies, Inc. All Rights Reserved.
Copyright (C) 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Modifications copyright (C) 2017 Uber Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this material except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.