Jump to ratings and reviews
Rate this book

Scripting in Java: Languages, Frameworks, and Patterns

Rate this book
Groovy and Leverage the Full Power of Scripting on the JavaTM Platform!

 

Using the JavaTM platform’s new scripting support, you can improve efficiency, streamline your development processes, and solve problems ranging from prototyping to Web application programming. In Scripting in Java, Dejan Bosanac covers key aspects of scripting with Java, from the exciting new Groovy scripting language to Java’s new Scripting and Web Scripting APIs.

 

Bosanac begins by reviewing the role and value of scripting languages, and then systematically introduces today’s best scripting solutions for the Java platform. He introduces Java scripting frameworks, identifies proven patterns for integrating scripting into Java applications, and presents practical techniques for everything from unit testing to project builds. He supports key concepts with extensive code examples that demonstrate scripting at work in real-world Java projects. Coverage includes

 

·        Why scripting languages offer surprising value to Java programmers

·        Scripting languages that run inside the BeanShell, JavaScript, and Python

·        Groovy in installation, configuration, Java-like syntax, Java integration, security, and more

·        Groovy accessing databases, working with XML, and building simple Web applications and Swing-based UIs

·        Bean Scripting implementation, basic abstractions, and usage examples

·        Traditional and new patterns for Java-based scripting

·        JSR 223 Scripting language bindings, discovery mechanisms, threading, pluggable namespaces, and more

·        JSR 223 Web Scripting scripting the generation of Web content within servlet containers

 

About the Web Site

 

All code examples are available for download at this book’s companion Web site.

690 pages, Kindle Edition

First published August 1, 2007

6 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (25%)
4 stars
1 (25%)
3 stars
2 (50%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
300 reviews
April 16, 2010
This book had good general information with a moderately full blown example of each topic, but it really fell short on the javascript integration of Rhino with Java. There were 2 chapters dealing with Groovy which is better and more thorougly covered in other books. Bean shell scripting was covered enough for an introduction but I don't know that this is relevant going forward.

A lot of the material was somewhat redundant and the examples were not itemized by the fundamental language elements involved.

A book like this is ok to get a general view of a topic, but it isn't strong enough to provide experienced or structured learning or evaluation material.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.