||Lisp and Java|
|Subject:||Groovy can do it|
This is a little example of how you would do the same thing in Groovy (http://groovy.codehaus.org)
Groovy can be used within a Java environment or standalone. Very nice language if you want something more flexible than Java. It runs in the same Java VM so it can use/connect to existing code and libraries.