This documentation relates to an old version of the Nuxeo Platform (5.5). You may want to check the latest technical documentation.
Skip to end of metadata
Go to start of metadata

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 sun.misc.BASE64Encoder - its usage is not recommended since it is a SUN internal utility class.

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.

Labels
  • None