• submit to reddit
Dustin Marx01/06/12
3995 views
0 replies

Guava Release 11's IntMath

As I stated earlier in the post Sneaking a Peek at Guava Release 11, Guava Release 11 provides numerous new classes including several classes specifically related to mathematical operations.

Dustin Marx01/06/12
3153 views
0 replies

JavaFX 2.0 Path Alternatives

In the post JavaFX 2.0 Christmas Tree (JavaFX 2.0 Shapes), I demonstrated using JavaFX 2.0's Path class in conjunction with MoveTo and LineTo to draw a simple Christmas tree.

Roger Hughes01/06/12
2581 views
0 replies

Product Related Classic Mistakes

In my last blog I looked a Process Related Classic Mistakes from Rapid Development: Taming Wild Software Schedules by Steve McConnell, which although it’s now been around for at least 10 years, and times have changed, is still as relevant today as when it...

Mark Needham01/06/12
5502 views
1 replies

Learning Android: WebView character encoding

In my continued attempts to learn how to write an Android application I came across a problem with character encoding when trying to load some text into a WebView. I was initially trying to write the text to the WebView like this:WebView webview = new...

John Fuex01/05/12
23925 views
6 replies

DZone Top Articles of 2011: The Code Sample (The Programmer’s Guide to Getting Hired)

Why you are being asked for a code sample and what it says about the employer. At some point during the developer recruiting process, any hiring manager with the remotest concept of due diligence is going to attempt to get a preview of what to expect from...

Carlos Sanchez01/05/12
7160 views
1 replies

Finding duplicate classes in your WAR files with Tattletale

Have you ever found all sorts of weird errors when running your webapp because several jar files included have the same classes in different versions and the wrong one is being picked up by the application server?

Bas De Nooijer01/05/12
3449 views
0 replies

Solr Delay Component

First of all, why would you want to slow Solr down? After all, it’s great speed is one of the main reasons it’s become so popular. Well, I need to slow Solr down for testing load balancing timeouts / failover and to test parallel execution. Both are...

Davy Suvee01/05/12
7658 views
0 replies

Running along the graph using Neo4J Spatial and Gephi

When I started running some years ago, I bought a Garmin Forerunner 405. It’s a nifty little device that tracks GPS coordinates while you are running.

Mitch Pronschinske01/05/12
13344 views
1 replies

DZone's Top Articles of 2011

This week, DZone has gathered together its top articles in every major topical area.  These were chosen based popularity and quality of content.  If you missed any of these, or you want to revisit some of the comments, now is a great time to check them...

Dustin Marx01/05/12
4064 views
1 replies

Sneaking a Peek at JavaFX 2.1 Beta

It was announced earlier this month that the JavaFX 2.1 Developer Preview Edition (early access) for Windows is available for download (previously available for Mac).

Nicolas Frankel01/05/12
5848 views
0 replies

Managing unmanaged beans in CDI

During these (much deserved) vacations, I worked on a pet project of mine which uses CDI with the Weld implementation and SLF4J with the Logback implementation.

Giorgio Sironi01/05/12
7517 views
0 replies

Web application in Clojure: the starting point

Ring is a basic tool for executing your Clojure code into a web server environment, by satisfying HTTP requests and producing responses. In scope, Ring is similar to the Servlet API, but it's not as standard and diffused; by the way, servlets are always used...

Eugen Paraschiv01/05/12
8911 views
8 replies

Simplifying the Data Access Layer with Spring and Java Generics

1. OverviewThis is the second of a series of articles about Persistence with Spring. The previous article discussed setting up the persistence layer with Spring 3.1 and Hibernate, without using templates. This article will focus on simplifying the Data...

Constantin Alin01/05/12
9394 views
2 replies

Sorting a HashMap By Values Without Losing Duplicates

The below method sorts a HashMap by values without removing duplicates. It works for <String,String> but it can be modified accordingly for other types:

Mick Knutson01/05/12
8189 views
2 replies

JMeter load testing against Apache Webserver: Errors and Resolutions

have been working on a fairly simple JMeter load script that I can run a series of 4 sequential pages against an Apache server, but the goal was to have the server support 2,000 concurrent requests for 5 minutes without error. Most of my issues in...