7 Appendix: Java Code Usage Sample for Oracle ILOM REST API Client
The following sample Java code is primarily intended to illustrate the use of the Oracle ILOM REST API. Therefore, the server IP address and resources are defined as constants and exception handling is omitted. The sample code requires the use of the Apache HTTP Client v4.5.6 library and the GSON v2.8.2 library.