# DSL Library for Temporal Workflow

**URL:** https://community.temporal.io/t/dsl-library-for-temporal-workflow/6886
**Category:** Community Support
**Tags:** java-sdk
**Created:** [January 10, 2023, 9:41am UTC](https://community.temporal.io/t/dsl-library-for-temporal-workflow/6886 "2023-01-10T09:41:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sarvesh](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@Sarvesh](https://community.temporal.io/u/Sarvesh)
#### Post date: [January 10, 2023, 9:41am UTC](https://community.temporal.io/t/dsl-library-for-temporal-workflow/6886/1 "2023-01-10T09:41:03Z")

</div>

Hi,

Do we have any DSL library for converting temporal/workflow serverless specs. to java code ?

Regards,

Sarvesh Belose

---

<div class="post-metadata">

### Author: ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)
#### Post date: [January 10, 2023, 3:32pm UTC](https://community.temporal.io/t/dsl-library-for-temporal-workflow/6886/2 "2023-01-10T15:32:09Z")

</div>

We have a sample [here](https://github.com/temporalio/samples-java/tree/main/src/main/java/io/temporal/samples/dsl) which should be a pretty good start. Hope that helps.  
The CNCF Serverless Workflow project has its own [“Java SDK”](https://github.com/serverlessworkflow/sdk-java) which can be used serialization and deserialization of the DSL itself, as well as validation so you don’t have to write this yourself.

---

<div class="post-metadata">

### Author: ![Sarvesh](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@Sarvesh](https://community.temporal.io/u/Sarvesh)
#### Post date: [January 11, 2023, 6:16am UTC](https://community.temporal.io/t/dsl-library-for-temporal-workflow/6886/3 "2023-01-11T06:16:32Z")

</div>

Thanks @tihomir ! This really helps.
