Don’t miss your chance to get Apress Access at $/€ 99 through Oct 29, 2019! Subscribe now >>

Scripting in Java

Integrating with Groovy and JavaScript

Authors: Sharan, Kishori

Download source code Free Preview
  • 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.

Buy this book

eBook 29,99 €
price for Spain (gross)
  • ISBN 978-1-4842-0713-0
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 39,51 €
price for Spain (gross)
  • ISBN 978-1-4842-0714-7
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules
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.

Table of contents (13 chapters)

Table of contents (13 chapters)
  • Getting Started

    Pages 1-15

    Sharan, Kishori

  • Executing Scripts

    Pages 17-23

    Sharan, Kishori

  • Passing Parameters to Scripts

    Pages 25-49

    Sharan, Kishori

  • Writing Scripts in Nashorn

    Pages 51-173

    Sharan, Kishori

  • Procedures and Compiled Scripts

    Pages 175-190

    Sharan, Kishori

Buy this book

eBook 29,99 €
price for Spain (gross)
  • ISBN 978-1-4842-0713-0
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 39,51 €
price for Spain (gross)
  • ISBN 978-1-4842-0714-7
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Scripting in Java
Book Subtitle
Integrating with Groovy and JavaScript
Authors
Copyright
2014
Publisher
Apress
Copyright Holder
Kishori Sharan
eBook ISBN
978-1-4842-0713-0
DOI
10.1007/978-1-4842-0713-0
Softcover ISBN
978-1-4842-0714-7
Edition Number
1
Number of Pages
XIX, 388
Number of Illustrations
25 b/w illustrations
Topics