# Uses of Package
javax.script

- Packages that use javax.script
  Package | Description
  --- | ---
  javax.script | The scripting API consists of interfaces and classes that define Java™ Scripting Engines and provides a framework for their use in Java applications.
  jdk.nashorn.api.scripting | This package provides the `javax.script` integration, which is the preferred way to use Nashorn.

- Classes in javax.script used by javax.script
  Class | Description
  --- | ---
  Bindings | A mapping of key/value pairs, all of whose keys are `Strings`.
  CompiledScript | Extended by classes that store results of compilations.
  ScriptContext | The interface whose implementing classes are used to connect Script Engines with objects, such as scoped Bindings, in hosting applications.
  ScriptEngine | `ScriptEngine` is the fundamental interface whose methods must be fully functional in every implementation of this specification.
  ScriptEngineFactory | `ScriptEngineFactory` is used to describe and instantiate `ScriptEngines`.
  ScriptException | The generic `Exception` class for the Scripting APIs.

- Classes in javax.script used by jdk.nashorn.api.scripting
  Class | Description
  --- | ---
  AbstractScriptEngine | Provides a standard implementation for several of the variants of the `eval` method.
  Bindings | A mapping of key/value pairs, all of whose keys are `Strings`.
  Compilable | The optional interface implemented by ScriptEngines whose methods compile scripts to a form that can be executed repeatedly without recompilation.
  Invocable | The optional interface implemented by ScriptEngines whose methods allow the invocation of procedures in scripts that have previously been executed.
  ScriptEngine | `ScriptEngine` is the fundamental interface whose methods must be fully functional in every implementation of this specification.
  ScriptEngineFactory | `ScriptEngineFactory` is used to describe and instantiate `ScriptEngines`.