Posted by editor
on December 7, 2006 at 8:50 AM PST
Is your code behaving? Are you sure? Also:
Feature Article: JUnit Reloaded
Java Today: jMaki 1.0 beta, NetBeans Visual Development and C/C++ Packs, and interview with Dalbor Topic about GPL Java
Weblogs: SavaJe disappointment, XML expression of dependency injection, and cleaning up in public
Forums: Concerns about a modular JDK, CDC and Nokia 770, and migrating to Matisse's GroupLayout
Is your code behaving? Are you sure?
How much are you using annotations? It's hard to think of a case where this Java 5.0 feature has been more enthusiastically embraced than Junit 4. A lot of the old habits -- what you import, what you name your tests, how you associate and run them -- are all out the window in favor of an annotations-based approach.
But that's just scratching the surface. JUnit's embrace of annotations allows for simple expressions like "this test times out after 5000 milliseconds", things that weren't straightforward, or even practical, in earlier versions.
Ralf Stuckert has a tour of the new version in today's Feature Article .
JUnit Reloaded explains why it's time to take up JUnit 4:
When the first release candidate was available back in 2005, you could hardly use it in a productive working environment due to the lack of tool support at that time. By now, most build-tools and IDEs come with support for JUnit 4, so it's about time to give it a try. This article describes what's different compared to JUnit 3.8.x.
Have a look, see what's new, and see if it's something that you're ready to switch to, if you already haven't... or if it's worth switching back from TestNG for.
In Java Today ,
The NetBeans community is proud to announce the first full releases of the NetBeans Visual Web Pack and the NetBeans C/C++ Development Pack . The NetBeans Visual Web Pack, allows you to rapidly and visually build standards-based web applications, including support for AJAX and JSF components. Meanwhile, the NetBeans C/C++ Development Pack provides support for a variety of C/C++ project types, and includes a makefile wizard. It also has sophisticated language model features, such as dynamic syntax highlighting, code completion, code folding and a class browser.
So how is the GPL release of Sun's Java SE and ME implementations going over? GPL Java: An interview with lead Kaffe developer Dalibor Topic , predicts a flurry of interest: "I think Free Software developers will embrace the JDK as a strong Free Software platform. The wealth of Free Software commons available on the Java platform shows that many Free Software developers have enjoyed working with the platform despite the drawback of having to rely on non-free software until suitable Free Software implementations around GNU Classpath became viable. Now that Java is being liberated, I'd expect it to be used by even more Free Software developers than before, as 'the Java Trap' is a thing of the past." Dalibor also talks about the effects on Kaffe, his experiences compiling the HotSpot and javac code, and more.
The fallout from the apparent collapse of SavaJe is underway in today's Weblogs , as John