Category: Software Dev.

Multithread Testing Challenges in Java

Christian at the Carbon Five Community recently published an interesting blog article on Multithreaded Testing. Christian showed how to use Java 5 built-in concurrency features to create a nice, clean multithreaded test for an article dispatcher. It’s a good example of using the Java concurrency features, but I wondered about the effectiveness of the test.

Unexpected Multithreading in Java

Multiple processor and multicore computing platforms are becoming very common and most programmers are aware that special Java programming techniques are required in these environments. A popular technique is to ensure that your code always executes in a single thread. It’s a reasonable strategy but it’s very easy to unintentionally violate that constraint. Consider this

2GX: Groovy and Grails Experience

This weekend I attended the Groovy and Grails Experience (2GX) conference. I had done some Groovy scripting and had played with Grails a little. However, this was a good chance to dive into some more advanced topics like Groovy metaprogramming and Grail’s GORM. My favorite talk was Glen Smith’s overview of Grails plugins for Rich