Description
Scripting in Java, 1st ed.
Integrating with Groovy and JavaScript
Language: EnglishSubject for Scripting in Java:
388 p. · 17.8x25.4 cm · Paperback
Description
/li>Contents
/li>Biography
/li>Comment
/li>
Scripting in Java teaches you how to use the Java Scripting API and JavaScript to execute scripts and take advantage of the features of a scripting language while developing Java applications. The book also covers topics that enable scripting languages to take advantage of Java features and the Java class library, including the new Java Collections and JavaFX 8 APIs. Most of the examples in this book use JavaScript on the Nashorn engine.
Author Kishori Sharan will show you scripts in JavaScript to demonstrate its power and use in your Java applications. Some of the examples use the jrunscript and jjs command-line tools. Furthermore, debugging is discussed to equip you for situations when or if you encounter any issues with this kind of Java scripting. After reading and using this book, you will have most of what you need to do scripting in Java.
Chapter 2: Executing Scripts
Chapter 3: Passing Parameters to Scripts
Chapter 4: Writing Scripts in Nashorn
Chapter 5: Procedures and Compiled Scripts
Chapter 6: Using Java in Scripting Languages
Chapter 7: Collections
Chapter 8: Implementing a Script Engine
Chapter 9: The jrunscript Command-Line Shell
Chapter 10: The jjs Command Line Tool
Chapter 11: Using JavaFX in Nashorn
Chapter 12: Java APIs for Nashorn
Chapter 13: Debugging, Tracing, and Profiling Scripts
Scripting in Java teaches you how to use the Java Scripting API and Java.
Script to execute scripts and take advantage of the features of a scripting language while developing Java applications.
The book also covers topics that enable scripting languages to take advantage of Java features and the Java class library, including the new Java Collections and Java.
These books may interest you
Java APIs, Extensions and LibrariesWith JavaFX, JDBC, jmod, jlink, Networking, and the Process API 84.39 €
Java 7 programming 53.22 €