© 2014

Scripting in Java

Integrating with Groovy and JavaScript

  • Authors

Table of contents

  1. Front Matter
    Pages i-xxv
  2. Kishori Sharan
    Pages 1-15
  3. Kishori Sharan
    Pages 17-23
  4. Kishori Sharan
    Pages 25-49
  5. Kishori Sharan
    Pages 51-173
  6. Kishori Sharan
    Pages 175-190
  7. Kishori Sharan
    Pages 191-209
  8. Kishori Sharan
    Pages 211-261
  9. Kishori Sharan
    Pages 263-279
  10. Kishori Sharan
    Pages 281-293
  11. Kishori Sharan
    Pages 295-306
  12. Kishori Sharan
    Pages 307-318
  13. Kishori Sharan
    Pages 319-341
  14. Kishori Sharan
    Pages 343-354
  15. Back Matter
    Pages 355-360

About this book


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.

About the authors

Kishori Sharan has earned a Master of Science in Computer Information Systems degree from Troy State University, Alabama. He is a Sun Certified Java 2 programmer. He has vast experience in providing training to professional developers in Java, JSP, EJB, and Web technology. He possesses over ten years of experience in implementing enterprise level Java application.

Bibliographic information

Industry Sectors
IT & Software
Finance, Business & Banking