Java News from Monday, December 11, 2006

The first release candidate of Groovy has been posted. Groovy is a JVM hosted scripting language that combines the blazing speed of GW-Basic with the unparalleled clarity of Perl. According to Guillaume Laforge,

Groovy RC-1 contains a lot of bug fixes and improvements -- about a hundred have been worked out in this release.

Among the interesting improvements, you'll note that coercion mechanisms are improved and now customizable for your own POGOs through the asType(Class) method. You can even coerce Maps to interfaces, as well as Closures to single-method interfaces.

The 'in' keyword now becomes a fully supported boolean operator, not only in the for loop.

Last but not least in the dynamicity of the language, you can decide which method to call with GStrings, like in: foo."$methdName"(*args).

So far, the old closure notation with the vertical pipe was still allowed, and the @Property syntax was silently ignored in the latest release. Now that the transition period is over, in RC-1 both are definitely illegal.

1.0 final is due by the end of the year.

JPOX 1.1.5, an open source implementation of Java Data Objects (JDO) 2.0, has been released. that provides transparent persistence to Java objects. It supports most major SQL databases and can be queried using either JDOQL or SQL. 1.1.5 is a bug fix release. It's published under the Apache 2.0 License.

ej-technologies GmbH has released version 4.3 of JProfiler, a $698 payware profiler based on the Java virtual machine profiling interface (JVMPI that can report on CPU usage, memory size, threads, and "VM telemetry" (whatever that is). New features in this release include:

Upgrades from 4.x are free.