Book 图书名称:Scripting in Java Integrating with Groovy and javascript
Author 作者: Kishori Sharan
Publisher 出版社:Apress
Page 页数:372
Publishing Date 出版时间:Dec 4, 2014
Language 语言:English
Size 大小:3.7 MB
Format 格式:pdf 文字版
ISBN:1484207149 , 978-1484207147
Edition: 第1版 搜索过论坛,没有该文档
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.
== Table of contents ==
Chapter 1: Getting Started
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
== 回帖见免费下载 ==
本帖隐藏的内容
声明: 本资源仅供学术研究参考之用,发布者不负任何法律责任,敬请下载者支持购买正版。
提倡免费分享! 我发全部免费的,分文不收 来看看 ...
你也可关注我 马上加关注