Best Of The Week – 2011 – W35
Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention:
* A Continuous Deployment Example Setup: This article presents a straightforward example of a continuous deployment setup. Jenkins is used as the Continuous Integration server and Git for the Source Control Management, while other open source technologies (MySQL, nginx, etc.) complement the setup.
* Understanding and Terminating the Enemy- Deadlocks: In this article the author discusses deadlocks and concurrent programming. First, the necessary conditions for a deadlock are presented along with an example demonstrating a simple deadlock. Then, JCarder is presented, a tool able to detect possible deadlocks by instrumenting programs byte code.
* Parallel Processing Using the Map Reduce Programming Model: A nice example of parallel processing using the map reduce model. The Hadoop framework is used for this purpose. Also check out our articles MapReduce: A Soft Introduction and Hadoop: A Soft Introduction.
* Producer and Consumer pattern in Java: A simple, yet helpful, Java based solution to the Producer and Consumer problem. It uses classes from the java.util.concurrent package in order to achieve high level concurrency.
* Functional Programming Is Hard, That’s Why It’s Good: An article discussing the benefits of functional programming and trying to identify the reasons why it presents challenges to developers. Finally, the author provides suggestions on what functional language to start with depending on the developer’s background.
* Java EE 6 does Java 7 with GlassFish 3.1.1: This tutorial examines features of the brand new Java 7 that can be used in a JavaEE environment. The examples include string switching, the try-with-resources statement and the multi-catch feature for exception.
* Java NIO vs. IO: A short overview of the differences between the java.io and the java.nio package classes. The author explains when to use each of them and presents a usage example.
* Spring Security Tutorials: A nice list of Spring security tutorials of varied length and complexity. Also check out Securing GWT apps with Spring Security and the Java Code Geeks Andygene Web Archetype.
That’s all for this week. Stay tuned for more, here at JavaCodeGeeks.