This example demonstrate the usage of the
java.net API to invoke remote operations through Automation REST API.
We will do the same as the cURL example - executing the query:
SELECT * FROM Document.
You may notice the usage of
Of course you may create a specific API over the java.net to expose the REST automation mechanisms using a simplified API.
Instead of writing your own Java client API you should check the Nuxeo Automation Client since it is already providing this.