<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Jobs on Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/java/java-jobs/</link><description>Recent content in Jobs on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/sdks/java/java-jobs/index.xml" rel="self" type="application/rss+xml"/><item><title>How to: Author and manage Dapr Jobs in the Java SDK</title><link>https://v1-18.docs.dapr.io/developing-applications/sdks/java/java-jobs/java-jobs-howto/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/sdks/java/java-jobs/java-jobs-howto/</guid><description>&lt;p>As part of this demonstration we will schedule a Dapr Job. The scheduled job will trigger an endpoint registered in the
same app. With the &lt;a href="https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples/jobs">provided jobs example&lt;/a>, you will:&lt;/p>
&lt;ul>
&lt;li>Schedule a Job &lt;a href="https://github.com/dapr/java-sdk/blob/master/examples/src/main/java/io/dapr/examples/jobs/DemoJobsClient.java">Job scheduling example&lt;/a>&lt;/li>
&lt;li>Register an endpoint for the dapr sidecar to invoke at trigger time &lt;a href="https://github.com/dapr/java-sdk/blob/master/examples/src/main/java/io/dapr/examples/jobs/DemoJobsSpringApplication.java">Endpoint Registration&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>This example uses the default configuration from &lt;code>dapr init&lt;/code> in &lt;a href="https://github.com/dapr/cli#install-dapr-on-your-local-machine-self-hosted">self-hosted mode&lt;/a>.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://docs.dapr.io/getting-started">Dapr CLI and initialized environment&lt;/a>.&lt;/li>
&lt;li>Java JDK 11 (or greater):
&lt;ul>
&lt;li>&lt;a href="https://www.oracle.com/java/technologies/downloads">Oracle JDK&lt;/a>, or&lt;/li>
&lt;li>OpenJDK&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="https://maven.apache.org/install.html">Apache Maven&lt;/a>, version 3.x.&lt;/li>
&lt;li>&lt;a href="https://www.docker.com/products/docker-desktop">Docker Desktop&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="set-up-the-environment">Set up the environment&lt;/h2>
&lt;p>Clone the &lt;a href="https://github.com/dapr/java-sdk">Java SDK repo&lt;/a> and navigate into it.&lt;/p></description></item></channel></rss>