Scripting in Java: Integrating with Groovy and JavaScript

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Apress, 2014. — 388 p. — ISBN-10: 1484207149, ISBN-13: 978-1484207147.
На англ. языке.

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.
What you’ll learn:
How to execute scripts and pass parameters to scripts;
What is the Java Scripting API as found in the new Java 8;
How to write scripts in Nashorn and invoke procedures in scripts;
How to use compiled scripts and use Java in scripting languages;
How to use the new Java APIs, including JavaFX 8 and Collections in Nashorn;
How to implement a script engine;
How to use the jrunscript and jjs command-line tools.
Who this book is for:
This book is for those who have some experience with Java. Although it is not required, it would be helpful to have a basic knowledge of a scripting language before reading this book.
Формат книги совместим с iPAD и Amazon Kindle, на PC открывается многими бесплатными ридерами, например Cool Reader, Calibre, Adobe Digital Editions

Author(s): Sharah K.

Language: English
Commentary: 1607222
Tags: Библиотека;Компьютерная литература;Java