Scripting in Java: Integrating with Groovy and JavaScript

Kishori Sharan

  • 出版商: Apress
  • 出版日期: 2014-12-04
  • 售價: $1,990
  • 貴賓價: 9.5$1,891
  • 語言: 英文
  • 頁數: 388
  • 裝訂: Paperback
  • ISBN: 1484207149
  • ISBN-13: 9781484207147
  • 相關分類: JVM 語言Java 程式語言JavaScript
  • 海外代購書籍(需單獨結帳)

商品描述

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.

商品描述(中文翻譯)

《在Java中進行腳本編寫》教導您如何使用Java Scripting API和JavaScript來執行腳本並在開發Java應用程序時利用腳本語言的功能。本書還涵蓋了使腳本語言能夠利用Java功能和Java類庫的主題,包括新的Java Collections和JavaFX 8 API。本書中的大部分示例使用Nashorn引擎上的JavaScript。

作者Kishori Sharan將展示使用JavaScript的腳本來展示其在Java應用程序中的功能和用途。其中一些示例使用jrunscript和jjs命令行工具。此外,本書還討論了調試,以便在遇到任何Java腳本相關問題時能夠應對。閱讀並使用本書後,您將具備在Java中進行腳本編寫所需的大部分知識。