Groovy. Labs - Downloads. Build your own scripting language for Java. Before Java Specification Request (JSR) 223, Scripting for the Java Platform, (and its predecessor, the Bean Scripting Framework, or BSF), many languages were already communicating with Java.
Some languages would take textual code as input from a Java program and return the evaluation result back. Others would keep references to objects in a Java program, invoke methods on those objects, or create new instances of a Java class. Because each language would communicate with Java in its own way, developers would have to learn the script engine's proprietary programming interface every time they wanted to use a script engine in their Java programs. To solve this problem, JSR 223 defines a contract that all script engines conforming to the specification must honor. The contract consists of a set of Java interfaces and classes, as well as a mechanism for packaging and deploying a script engine.
JSR 223 helps not only consumers, but also producers of script engines. BoolScript engine. Synapse. Bex script (Java scripting language) The Mustang Meets the Rhino: Scripting in Java 6. By John Ferguson Smart 04/26/2006 The latest major Java release (Java SE 6, aka Mustang), is now in its beta version.
Although this new version is not as major an update as Java 5, it does come with a few interesting new features. Undoubtedly, one of these is its support for scripting languages. Scripting languages such as PHP, Ruby, JavaScript, Python (or Jython), and the like are widely used in many domains, and are popular because of their flexibility and simplicity. Scripts are interpreted, not compiled, so they can be easily run and tested from the command line. Using scripting languages from Java can be useful in many situations, such as providing extensions to your Java application so that users can write their own scripts to extend or customize the core functionalities.
Many independent scripting packages have been available for Java for some time, including Rhino, Jacl, Jython, BeanShell, JRuby, and others. Java 6 provides integrated support of the JSR-223 specification. RefleX. RefleX runs in a JVM.
You must have Java installed in your system. RefleX consist on a single jar file distibuted with other libraries. Alongside RefleX you will find another jar file for the 2 applications XUnit and WUnit. RefleX is accessible from the command line interface, can be embedded in an application, or is also runnable as a servlet in a Web application (see hereafter). According to the running environment (command line, Web server) you have to make the relevant jar files accessible to that environment (with the classpath, on inside the WEB-INF/lib/ directory of your Web applications).
You don't need to write any Java code if you use the command line interface or the servlet, unless otherwise you want to design yourself your own module in Java, or interact with the engine. Download RefleX can be downloaded at INRIA's gforge. Older and new releases can be accessed online here. Status This version of RefleX is 0.4.0-beta.