A scripting API consists of interfaces and classes that define Java Scripting Engines and provides a framework for their use in Java applications.