# Java Client API?

**URL:** <https://forum.datomic.com/t/java-client-api/680>\
**Category:** Client API\
**Created:** [October 29, 2018, 8:48pm UTC](https://forum.datomic.com/t/java-client-api/680 "2018-10-29T20:48:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcgrue](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marcgrue/32/170_2.png) [@marcgrue](https://forum.datomic.com/u/marcgrue)\
**Post date:** [October 29, 2018, 8:48pm UTC](https://forum.datomic.com/t/java-client-api/680/1 "2018-10-29T20:48:11Z")

</div>

Is there somewhere I can see the Java API for the Client model (if any)? Or how to create a Client from java? (my Peer Server is up and running)

Thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![marcgrue](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marcgrue/32/170_2.png) [@marcgrue](https://forum.datomic.com/u/marcgrue)\
**Post date:** [October 30, 2018, 10:36am UTC](https://forum.datomic.com/t/java-client-api/680/2 "2018-10-30T10:36:10Z")

</div>

On the [Peer Language Support](https://docs.datomic.com/on-prem/languages.html) page it says that “The Java API gives Java users access to all the features of the Peer library” and that “The Clojure API is a functional projection of the Java API”.

I haven’t been able to find any mention of a Java API in the Cloud/Client documentation - is it so that the Clojure Client API is not a projection of a Java API? Or is there some business decision to not support the Client API being accessed from Java?

I hope I’m not jumping to conclusions, and that I have misunderstood something. I think I need some Java API to be able to adopt the [Scala Molecule](https://github.com/scalamolecule/molecule) library to Client/Cloud too and hope that you can help.

Thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![marshall](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marshall/32/48_2.png) [@marshall](https://forum.datomic.com/u/marshall)\
**Post date:** [November 8, 2018, 3:56pm UTC](https://forum.datomic.com/t/java-client-api/680/3 "2018-11-08T15:56:32Z")

</div>

Hi Marc,

The Java API is only available for Datomic On-Prem (Peer).

Accessing Datomic Cloud (via Clients) is only enabled through the Clojure Client API at this time.

-Marshall

---

<div class="post-metadata">

**Author:** ![marcgrue](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marcgrue/32/170_2.png) [@marcgrue](https://forum.datomic.com/u/marcgrue)\
**Post date:** [November 9, 2018, 4:06pm UTC](https://forum.datomic.com/t/java-client-api/680/4 "2018-11-09T16:06:09Z")

</div>

Hi Marshall,

Thank you for clarifying!

If you decide to offer a Java Client API, I would be happy to make a Molecule Client adaption so that the Scala community could use this option too which I think would be cool.

Thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![marshall](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marshall/32/48_2.png) [@marshall](https://forum.datomic.com/u/marshall)\
**Post date:** [November 9, 2018, 9:58pm UTC](https://forum.datomic.com/t/java-client-api/680/5 "2018-11-09T21:58:54Z")

</div>

Hi Marc,

Thanks for the offer. I’ll definitely let you know if a Java Client is released.
