How to deploy elasticsearch engine as a WAR file into Tomcat server?

I want to run elastic search engine through tomcat cat server. How I can achieve this, Please help.

Thanks
Kul

Better have a look at this example project which deploys elasticsearch in tomcat server.
https://github.com/javanna/elasticsearch-war-example, its based on
https://github.com/elastic/elasticsearch-transport-wares.

Surprising to see this question unanswered for a long time in this forum.

Read also this: https://github.com/elastic/elasticsearch/issues/12721

Thanks for your direction.