# Advanced samples using ledger API and java bindings

**URL:** <https://forum.canton.network/t/advanced-samples-using-ledger-api-and-java-bindings/5264>\
**Category:** App Development\
**Tags:** java, ledger-api\
**Created:** [September 22, 2022, 7:44am UTC](https://forum.canton.network/t/advanced-samples-using-ledger-api-and-java-bindings/5264 "2022-09-22T07:44:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivaganesh](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/shivaganesh/32/4592_2.png) [@Shivaganesh](https://forum.canton.network/u/Shivaganesh)\
**Post date:** [September 22, 2022, 7:44am UTC](https://forum.canton.network/t/advanced-samples-using-ledger-api-and-java-bindings/5264/1 "2022-09-22T07:44:04Z")

</div>

I could find Ping-Pong and IOU sample to understand java bindings and ledger API which help us to begin with. I want to look at how to handle the data in the correct approach when multiple parties and templates exists in the daml network. Are there any advanced samples which will be helpful?

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stephen/32/102_2.png) [@Stephen](https://forum.canton.network/u/Stephen)\
**Post date:** [September 29, 2022, 1:54pm UTC](https://forum.canton.network/t/advanced-samples-using-ledger-api-and-java-bindings/5264/2 "2022-09-29T13:54:16Z")

</div>

> [@Shivaganesh](#):
>
> the correct approach

For advanced use cases, there is no such thing as “_the_ correct approach”. Throughout the documentation, we discuss general principles for building robust client applications for Daml ledgers, but there is nothing you can copy-and-paste that will work for a genuinely nontrivial use case.

That said, perhaps another forum member has a similar use case to yours, or similar enough that some of the same specific techniques might apply. Perhaps you could expand on the questions you have, possibly in different forum posts if they are varied enough, and another forum member might recognize something of their application in your own and have useful advice?
