Java

  • submit to reddit

More Spock Love - How I Tested Complex Install Scenarios

I'm in love. Officially. With Spock. Ok, we've only been hanging out for a...

0 replies - 549 views - 10/15/12 by Ken Rimple in Articles

Giving up on Eclipse Juno

In my last blog I posted about my Eclipse 4.2 Juno setup; as much as a reference for me in case I needed to do a reinstall as anything else. What I didn’t...

4 replies - 2129 views - 10/15/12 by Dan Haywood in Articles

NetBeans 7.3 Beta is More Than Easel: Hints and FXML Code Completion

NetBeans 7.3, which is now available in Beta, is already probably best known for its Project Easel features. However, in this post I look at some new...

0 replies - 664 views - 10/15/12 by Dustin Marx in Articles

Why Do Bad Things Happen to Good Code?

We need to understand what happens to code over time and why, and what a healthy, long-lived code base looks like. What architectural decisions have the...

0 replies - 2383 views - 10/15/12 by Jim Bird in Articles

Scala Refcard Released! And the Top 5 Scala Articles of the Week

New Refcard: We've been eagerly preparing this week's refcard release for the past few months now, and finally the widely-requested Scala Refcard is here.  Go...

0 replies - 1678 views - 10/15/12 by Patroklos Papapetrou in Articles

Unexpected Java Float Precision Changes

I ran across a little gotcha today where a float value being inserted into another object container (JSONObject) was not holding the precision of the...

3 replies - 2232 views - 10/14/12 by Mick Knutson in Articles

Play 2.0 Framework and XA Transactions

XA transactions are useful and out of the box, Play 2.0 today does not have support for them.  Here I show how to add that support: First off, some...

0 replies - 905 views - 10/14/12 by Ant Kutschera in Articles

Three Things Java Developers Should Know

Here is an interesting article for those of should who have been following remotely the JavaOne 2012 conference. A recent interview with the Java Champion...

0 replies - 2815 views - 10/14/12 by Pierre - Hugues... in Articles

Weekly Poll: In a World where Java was no more. . .

Java is the bread and butter of many programmers on DZone. We don't think that a bakery strike would lead to mass starvation, though. We'd find something else...

6 replies - 3398 views - 10/14/12 by Bill Armstrong in Articles

Writing Geospatial Queries for MongoDB in Java

MongoDB supports 2-dimensional geospatial indexes. You can watch MongoSF (May 2011) presentation to understand it at a basic level. In this article, I will...

2 replies - 1935 views - 10/12/12 by Amresh Singh in Articles

Log4j Thread Deadlock - A Case Study

This case study describes the complete root cause analysis and resolution of an Apache Log4j thread race problem affecting a Weblogic Portal 10.0...

0 replies - 1754 views - 10/12/12 by Pierre - Hugues... in Articles

RateLimiter - Discovering Google Guava

RateLimiter class was recently added to Guava libraries (since 13.0) and it is already among my favourite tools. Have a look what the JavaDoc says: [...]...

1 replies - 2151 views - 10/12/12 by Tomasz Nurkiewicz in Articles

Redis pub/sub Using Spring

Continuing to discover the powerful set of Redis features, the one worth mentioning about is out of the box support of pub/sub messaging. Pub/Sub...

0 replies - 1277 views - 10/12/12 by Andriy Redko in Articles

Bug Fixing: To Estimate, or Not to Estimate: That is The Question

According to Steve McConnell in Code Complete (data from 1975-1992) most bugs don’t take long to fix. About 85% of errors can be fixed in less than a few...

0 replies - 2961 views - 10/12/12 by Jim Bird in Articles

Using Hudson/Jenkins to Diagnose that Intermittent Failure

I have been working on one of those intermittent bugs that just won't reproduce on my machine; but will reproduce intermittently on other machines while...

0 replies - 2164 views - 10/11/12 by Gerard Davison in Articles