# Jest vs. Elasticsearch Java Rest API Client for Elasticsearch 6.00

**URL:** https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089
**Category:** Elasticsearch
**Created:** [January 25, 2018, 5:24pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089 "2018-01-25T17:24:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rhlarora84](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rhlarora84](https://discuss.elastic.co/u/rhlarora84)
#### Post date: [January 25, 2018, 5:24pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089/1 "2018-01-25T17:24:23Z")

</div>

Hi,  
We are looking forward to use Elasticsearch (6.0) for our search use cases. We have come across the following Java based elastic search clients for api operations -

- Jest
- Elastic Search Rest API

We plan to use AWS managed Elasticsearch cluster for infrastructure.

Is there any recommendation from the team on the java client library given the maturity of the API ?  
Would there be anything missing in Elasticsearch Rest API but available in Jest?

Thanks

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 25, 2018, 5:40pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089/2 "2018-01-25T17:40:43Z")

</div>

The most mature is the TransportClient IMO.  
BUT if you think about the future, this client will be retired in the future and you should consider instead the REST Client. Not as mature but lot of needed APIs for most use cases are here.  
And you have access to the Low Level client in case something you need is missing.

For example, I wrote some code here for my own needs that extend the High Level Client:

> <https://github.com/dadoonet/fscrawler/blob/master/elasticsearch-client/src/main/java/fr/pilato/elasticsearch/crawler/fs/client/ElasticsearchClient.java#L76-L106>

My 2 cents.

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [January 25, 2018, 5:54pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089/3 "2018-01-25T17:54:26Z")

</div>

The JEST client has far fewer dependencies than any of the official  
Elasticsearch clients. If jar hell is an issue, than JEST is the way to go.  
I use it in production, and it works flawlessly.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 22, 2018, 5:54pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089/4 "2018-02-22T17:54:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
