doc/nashorn/JavaScriptingProgrammersGuide.html
changeset 47290 2853531b2c8c
parent 47216 71c04702a3d5
equal deleted inserted replaced
47289:6439a2eca58b 47290:2853531b2c8c
   125 JSR-223 API, then your users can use any JSR-223 compliant
   125 JSR-223 API, then your users can use any JSR-223 compliant
   126 scripting language.</span></p>
   126 scripting language.</span></p>
   127 <hr>
   127 <hr>
   128 <span><a name="package" id="package"></a></span>
   128 <span><a name="package" id="package"></a></span>
   129 <h2><span>Scripting Package</span></h2>
   129 <h2><span>Scripting Package</span></h2>
   130 <p><span>The Java Scripting functionality is in the <code><a href="http://docs.oracle.com/javase/6/docs/api/javax/script/package-summary.html">javax.script</a></code>
   130 <p><span>The Java Scripting functionality is in the <code><a href="http://docs.oracle.com/javase/9/docs/api/javax/script/package-summary.html">javax.script</a></code>
   131 package. This is a relatively small, simple API. The starting point
   131 package. This is a relatively small, simple API. The starting point
   132 of the scripting API is the <code>ScriptEngineManager</code> class.
   132 of the scripting API is the <code>ScriptEngineManager</code> class.
   133 A ScriptEngineManager object can discover script engines through
   133 A ScriptEngineManager object can discover script engines through
   134 the jar file service discovery mechanism. It can also instantiate
   134 the jar file service discovery mechanism. It can also instantiate
   135 ScriptEngine objects that interpret scripts written in a specific
   135 ScriptEngine objects that interpret scripts written in a specific