9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /**
27
28 <p>The scripting API consists of interfaces and classes that define
29 Java™ Scripting Engines and provides
30 a framework for their use in Java applications. This API is intended
31 for use by application programmers who wish to execute programs
32 written in scripting languages in their Java applications. The
33 scripting language programs are usually provided by the end-users of
34 the applications.
35 </p>
36 <p>The main areas of functionality of <code>javax.script</code>
37 package include
38 </p>
39 <ol>
40 <li><p><b>Script execution</b>: Scripts
41 are streams of characters used as sources for programs executed by
42 script engines. Script execution uses
43 {@link javax.script.ScriptEngine#eval eval} methods of
44 {@link javax.script.ScriptEngine ScriptEngine} and methods of the
45 {@link javax.script.Invocable Invocable} interface.
46 </p>
47 <li><p><b>Binding</b>: This facility
48 allows Java objects to be exposed to script programs as named
49 variables. {@link javax.script.Bindings Bindings} and
|
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /**
27
28 <p>The scripting API consists of interfaces and classes that define
29 Java Scripting Engines and provides
30 a framework for their use in Java applications. This API is intended
31 for use by application programmers who wish to execute programs
32 written in scripting languages in their Java applications. The
33 scripting language programs are usually provided by the end-users of
34 the applications.
35 </p>
36 <p>The main areas of functionality of <code>javax.script</code>
37 package include
38 </p>
39 <ol>
40 <li><p><b>Script execution</b>: Scripts
41 are streams of characters used as sources for programs executed by
42 script engines. Script execution uses
43 {@link javax.script.ScriptEngine#eval eval} methods of
44 {@link javax.script.ScriptEngine ScriptEngine} and methods of the
45 {@link javax.script.Invocable Invocable} interface.
46 </p>
47 <li><p><b>Binding</b>: This facility
48 allows Java objects to be exposed to script programs as named
49 variables. {@link javax.script.Bindings Bindings} and
|