December 2014
Intermediate to advanced
388 pages
8h 1m
English
CHAPTER 5
![]()
Procedures and Compiled Scripts
In this chapter, you will learn:
Invoking Procedures in Scripts
In previous chapters, you have seen how to invoke scripts using the eval() method of the ScriptEngine. It is also possible to invoke procedures written in a scripting language directly from the Java program, provided the ScriptEngine supports procedure invocation.
A scripting language may allow creating procedures, functions, and methods. The Java Scripting API lets ...
Read now
Unlock full access