O'Reilly logo

Scripting in Java™: Languages, Frameworks, and Patterns by Dejan Bosanac

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Bean Scripting Framework

In Chapter 2, “Appropriate Applications for Scripting Languages,” we discussed the importance of being able to embed scripting languages into your programming environment. In the chapters that followed, we described mechanisms built into the BeanShell, Jython, Rhino, and Groovy scripting languages that enable them to integrate with the Java platform. Although these mechanisms are a natural solution if you want to support only one of these scripting languages, things can get messy if you try to use more than one in your application. Some projects need a general scripting environment in which all languages are treated equally and can be used through the same API. That environment is the Bean Scripting Framework. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required