Easier Scripting for Java With The Apache Bean Scripting Framework (BSF)
Written by Content Team
Oct 10, 2006 at 04:52 AM
BSF will not only enable writing code in a scripting language and yet being able to access Java libraries but it also provides an API that permits calling scripting language engines from within Java.
BSF has announced the release of version 2.4 only a few days back.
To use BSF download the jar file and include it in your classpath, along with any required classes or jar files for the desired languages.
BSF supports the following scripting languages:
Javascript (using Rhino ECMAScript, from the Mozilla project)
NetRexx (an extension of the IBM REXX scripting language in Java)
Python (using Jython)
Tcl (using Jacl)
XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces)
In addition, the following languages are supported with their own BSF engines:
Java (using BeanShell, from the BeanShell project)
Although not directly related to BSF, here's some more news from Apache Jakarta - The project has released new versions of Commons Configuration and Commons Lang. Commons Configuration provides a generic configuration interface which enables an application to read configuration data from a variety of sources. Commons Lang provides helper utilities for Java. Version 2.2 has a new text package.
Comment by 'Guest' on 2006-10-10 07:28:42 Do you really think that given a choice, one should really be using more than one language on a project / application?
Copyright 2004 to 2008 Rightrix Solutions. All rights reserved. All product names are trademarks of their respective companies. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Rightrix Solutions and IndicThreads.com are independent of Sun Microsystems, Inc.
Views expressed at IndicThreads.com reflect the views of the authors alone, and do not necessarily reflect those of IndicThreads.com. IndicThreads.com and it's authors are not responsible for reader comments and opinions.