Thursday, January 31, 2008

Lord kill the pain

Lord kill the pain
Added to my Flickr favourites at 12:54.
Invoke dynamic languages dynamically, Part 1: Introducing the Java scripting API

javax.script, apparently based on Apache Bean Script Framework and integrated into Java 6, provides two-way integration with various scripting languages.
Create dynamic applications with javax.tools

Java 6 includes programmatic access to Java compilers (e.g. ToolProvider.getSystemJavaCompiler(), getSystemToolClassLoader()) meaning you can generate, compile and load Java classes on the fly. No more mucking around with undocumented private classes, yay