Scripting in Java starts with the explanation of basic scripting concepts and mechanisms needed for implementating scripting languages on the Java platform. Next, it focuses on particular languages available for Java developers today, such as Groovy, BeanShell, Python (Jython), JavaScript (Rhino), etc.

After these basic concepts, the book's topic is moved towards frameworks and patterns. This part of the book describes Apache BSF framework and the Scripting API (javax.script). It also introduces practical advices and design patterns for successful usage of scripting languages in Java projects. At the end, the Web Scripting Framework (javax.script.http) is described with examples of integration of PHP and Java web applications.

Table of Content

Code Samples

Download complete code samples archive from here