Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
Groovy in Action

Groovy in Action
by Dierk Koenig; Andrew Glover; Paul King; Guillaume Laforge; Jon Skeet

Top Sellers in this Category

Head First Java, 2nd Edition

Head First Java, 2nd Edition
by Kathy Sierra; Bert Bates

Head First Design Patterns

Head First Design Patterns
by Eric Freeman; Elisabeth Robson; Kathy Sierra; Bert Bates

Java Concurrency in Practice

Java Concurrency in Practice
by Brian Goetz; Tim Peierls; Joshua Bloch; Joseph Bowbeer; David Holmes; Doug Lea

Groovy and Beyond: 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 JVM: BeanShell, JavaScript, and Python

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

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

·        Bean Scripting Framework: implementation, basic abstractions, and usage examples

·        Traditional and new patterns for Java-based scripting

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

·        JSR 223 Web Scripting Framework: 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.

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 4.0 out of 5 rating Based on 4 Ratings

getting started with java 1.6 scripting - 2007-09-16
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
"Scripting in Java" is a great book to get started with using scripting languages that interact with Java. It is assumed the reader knows Java syntax, a reasonable assumption. The author does go into detail on dynamic vs static languages, the role of the JVM and other concepts. This is helpful as it highlights the important parts when thinking about scripting languages. When discussing any scripting language, the author includes a section on setting it up.

The description of scripting languages, benefits, syntax and libraries is all good. The author shows how to call scripting languages from Java and vice versa. I particularly like how the author pointed out concepts about each language such as how variables are handled. I also like how the author addressed concerns people, myself included, have about scripting languages. The end of the book covers advanced concepts about the scripting framework.

My only complaint is the formatting of the book. It has very large two inch margins. The text is only four inches wide. This makes the book seem heavier/thicker than it needs to be. More importantly, some of the code listings don't follow the huge margin requirement. On some pages, you see a code fragment that honors the two inch margin and another only a half inch from the edge of the book. This happens just often enough to be disorienting when reading.

Overall, the book is very good and I recommend it.

Too ambitious and stopped short at everything - 2008-04-04
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I bought the book impressed at the the reviews at the top. Also the title was telling a lot. Bad judgment. I got disappointed by the lack of depth on almost all the subjects, including Groovy, which consumes good part of the book. And it was not even good at Groovy. It also fails at Bean scripting. Jython, which is my favorite language, is poorly covered as well.

A well written and valuable book for Java programmers - 2008-01-19
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book "Scripting in Java" is precious for any programmer that
wants to combine the power and speed of Java code with the flexibilitry
of scripting languages.
It covers many different aspects of scripting, it is well-organized and it
presents clearly and concisely all the material.
With a few words, I found the book excellent and I recommend it to all the
advanced Java programmers.

Any computer collection which is both advanced and strong in Java programming references needs SCRIPTING IN JAVA. - 2007-12-04
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Java platform's new scripting support can help streamline development processes and solve problems, especially when paired with SCRIPTING IN JAVA, which covers many key components of Java scripting. The overview begins with discussions of the importance of scripting language and processes, introduces Java frameworks, identifies proven routines for blending scripting into Java applications, and moves to in-depth technical details on language bindings, code configuration and more. Any computer collection which is both advanced and strong in Java programming references needs SCRIPTING IN JAVA.

Diane C. Donovan
California Bookwatch

Browse Similar Topics

Top Level Categories:
Programming

Sub-Categories:
Programming > Java

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2010 Safari Books Online. All rights reserved.