REST API or Java SDK, Which is preferable for monitoring Oracle Cloud Compute VM?

137 views Asked by At

Which one makes process easier, minimum lines to code and easy to use.

1

There are 1 answers

0
Joe On BEST ANSWER

The Java SDK will be easier, assuming you are used to coding in Java. With using the REST API directly, you have to managing the signing logic yourself, as well as be familiar with HTTP semantics like URI, path, query params, headers, body, etc. The Java SDK (and the other OCI SDKs) abstract that all away for you.