Best Of The Week – 2011 – W41
Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention:
* Oracle’s ambitious plan for client-side Java: An opinion on Oracle’s plans regarding client side Java and it’s strategy mainly revolving around JavaFX (now the preferred method of building all kinds of GUI).
* Integrating JavaFX into Swing Applications: Following the previous article, this guide shows how to integrate JavaFX into Swing applications. More specifically, how to add JavaFX content into a Swing application and how to use threads correctly when both Swing and JavaFX content operate within a single application.
* Java Tip: When to use ForkJoinPool vs ExecutorService: A comparison between the well established ExecutorService and the brand new ForkJoinPool, both of which allow Java developers to leverage parallel programming. A web crawler is built as a show case. Also check out Java Fork/Join for Parallel Programming.
* Three pillars of Unit Tests: In this article the author introduces the concept of Test Driven Development (TDD) and unit testing and then presents the three pillars of unit tests, namely trustworthiness, maintainability and readability.
* Why good metrics values do not equal good quality: In this article, it is argued that judging the quality of a software product (thus the risk of using it in production) merely by tool-based measurements can lead to false conclusions. Manual reviews and checks are much more efficient to that end, although those still cannot guarantee error-free software.
* NoSQL or RDBMS? – Are we asking the right questions?: Here the author explains when and why we should choose an RDBMS, why an RDBMS might not be right for a specific job and why an RDBMS does not scale and many NoSQL solutions do. Also check out SQL or NOSQL: That is the question?.
* Why code review beats testing: evidence from decades of programming research: A comparison of various bug detection techniques (including regression testing, informal code reviews etc.). Also have a look at “How many bugs do you have in your code?” and “Not doing Code Reviews? What’s your excuse?”.
* Measure Java Performance – Sampling or Instrumentation?: In this article, two approaches in measuring Java performance are compared: sampling (tracking thread activity from a daemon thread) and instrumentation (manipulating bytecode to generate agents that are called before and after method invocations).
* Restful Web API With Spring MVC: A guide that explains how to expose a RESTful Web services API using Spring MVC. Also check out “RESTful Web Services with RESTeasy JAX-RS on Tomcat 7” and “Spring 3 RESTful Web Services”.
* Dealing with Security Vulnerabilities… er… bugs: In this article, our JCG partner Jim Bird discusses security vulnerabilities and bugs that manifest themselves and how those should be dealt with.
* David Pollak and Dick Wall Discuss Barriers to Scala Adoption: David Pollak (yet another JCG partner) discusses with Dick Wall the barriers to Scala adoption along with a bunch of other Scala related issues (IDE support, developer’s pool, comparison with Erlang etc.). Also check out our Scala tutorials.
* JavaOne 2011 Overall Impressions: The Good, The Bad, and The Ugly: As the title suggests, this article provides an overview and overall impressions of the JavaOne 2011.
That’s all for this week. Stay tuned for more, here at JavaCodeGeeks.
Related Articles: