# Can use XPack transporter client to access a basic elasticsearch server

**URL:** <https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815>\
**Category:** Elasticsearch\
**Created:** [July 27, 2017, 2:45pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815 "2017-07-27T14:45:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flemming\_Harms](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flemming_harms/32/20292_2.png) [@Flemming\_Harms](https://discuss.elastic.co/u/Flemming_Harms)\
**Post date:** [July 27, 2017, 2:45pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815/1 "2017-07-27T14:45:42Z")

</div>

Hello,

Let's say I have a client application jar and distribute the XPack transporter client jar with this, will I still be able to access a basic elasticsearch server with no x-pack security plug-in?

Is there any limitations regarding using the XPack transporter client jar, like they will only be able to use the client for 30 days trial or something else?

br  
Flemming

---

<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:** [July 27, 2017, 3:00pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815/2 "2017-07-27T15:00:18Z")

</div>

I'd really use the REST Client instead.  
Knowing that Transport Client will be deprecated I think it's not a good idea to distribute it.

Time to switch to the REST Client. The High Level REST Client is coming soon.

---

<div class="post-metadata">

**Author:** ![Flemming\_Harms](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flemming_harms/32/20292_2.png) [@Flemming\_Harms](https://discuss.elastic.co/u/Flemming_Harms)\
**Post date:** [July 27, 2017, 3:26pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815/3 "2017-07-27T15:26:57Z")

</div>

The REST Client API seems a lot different from the Java Client.

What timeframe are we talking about regarding the High level REST client?

---

<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:** [July 27, 2017, 3:50pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815/4 "2017-07-27T15:50:06Z")

</div>

It is different but it tries to reuse most of the objects the Transport Client has been using (Request and Response objects).

The High Level REST Client is published as a SNAPSHOT for now.  
But it should be available with the next release of 6.0 and 5.6.

I can't give a date though.

---

<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:** [August 24, 2017, 3:50pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815/5 "2017-08-24T15:50:07Z")

</div>

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