
In most cases, it is sufficient to simply mark a lazy initialising
method as synchronized. The following example can be found in the Wikipedia article about...
9 replies - 1846 views - 02/12/13 by Lukas Eder in Articles

Job scheduling is used on many software projects to enable both internal jobs and third-party integration. Clustering can provide a huge boost to reliability...
0 replies - 1017 views - 02/12/13 by Carey Flichel in Articles

When code reviewing or pair programming, I’m always amazed by the
following discrepancy. On one hand, 99% of developers conscientiously
apply...
5 replies - 2962 views - 02/11/13 by Nicolas Frankel in Articles

This is the fifth article in the series of "Become a Java GC Expert". In the first issue Understanding Java Garbage Collection
we have learned about the...
0 replies - 6635 views - 02/11/13 by Esen Sagynov in Articles

As you may be aware, the JDK 8 Early Access is now available for download. This allows Java developers to experiment with some of the new language...
4 replies - 23884 views - 02/11/13 by Pierre - Hugues... in Articles

We’ve been playing a bit more with Google’s Guava
library – what a great library! The most recent thing we used it for
was to sort out the...
0 replies - 3102 views - 02/11/13 by Dan Haywood in Articles

If you're using the Camel-Mail component to handle some business logic
that involves receiving email that contains attachments, then you might
be...
0 replies - 1401 views - 02/11/13 by Jason Sherman in Articles

During my years on the Mule Community forum I’ve noticed that there are some problem areas that are more common than others. One recurring question, that I...
0 replies - 1098 views - 02/11/13 by Tomas Blohm in Articles

IoC Containers Considered Harmful
Øyvind Bakksjø is a bit skeptical of where the Java community is heading. Although he's completely fine with...
0 replies - 1769 views - 02/11/13 by Mitch Pronschinske in Articles

A really cool feature of GlassFish Metro (and maybe other webservice stacks) is the ability to change the webservice endpoint URL at runtime.
In general, you...
1 replies - 1056 views - 02/08/13 by Ralf Quebbemann in Articles

I recently came across an issue where I was was unable to make a remote JMX connection to an instance of Apache ServiceMix which was running on a remote Linux...
0 replies - 310 views - 02/08/13 by Jason Sherman in Articles

TL;DR
Longer methods are more likely to need to change when the application changes.
The Longer Story
Shorter methods protect my investment in the code, in...
4 replies - 4423 views - 02/07/13 by Kevin Rutherford in Articles

Thursday is code puzzler day here at DZone. The idea is
simple: solve the coding problem as efficiently as you can, in any
language or framework that you...
14 replies - 2386 views - 02/07/13 by James Sugrue in Articles

It's Better to Have Someone Else Copyedit Text, and It's Better to Have Others Test Your Code
Andrew Wulf shares wisdom about testing - it's not...
0 replies - 2623 views - 02/07/13 by Mitch Pronschinske in Articles

Poor Oddjob, I thought as I read Craig Flichel’s Feature Comparison of Java Job Schedulers featuring Obsidian, Quartz, Cron4j and Spring. Yet again it...
0 replies - 1567 views - 02/06/13 by Rob Gordon in Articles