...
You can use custom Java API as well from Groovy script. You can put Jar file containing your API in WebLogic domain's lib folder. Figure 17.39 This example shows such the use of custom a Java API. This can be useful to interface with an external system using SOAP, REST or other proprietary API.
...