• submit to reddit
Ted Theodoropoulos01/15/11
0 replies

Technical Debt - Part 3: Quantifying

There are two key components to the technical debt equation: principal and interest.  Quantifying both the principal owed and the interest payments being made are critical.  Without a complete picture of the cost of the debt, calculating the return on...

Gordon Dickens01/14/11
5 replies

JUnit & Spring – What You Don’t Know

When using JUnit in Spring there are several features added that many developers are not aware of. First, if you are including the Spring Context in your tests, it becomes an Integration Test, no longer a Unit Test.1. Default Searching of Context File(s) To...

Adam Warski01/14/11
2 replies

Dependency Injection in Scala: Extending the Cake Pattern

Continuing the mini-series on Dependency Injection (see my previous blogs: problems with DI, assisted inject for CDI and improving assisted inject), I took a look at how DI is handled in Scala.

Ted Theodoropoulos01/14/11
1 replies

Technical Debt - Part 2: Identification

We discussed the process of defining technical debt in a

Frank Kelly01/14/11
1 replies

Migrating from JBoss 4 to JBoss 5

I have been using JBoss 4.2.3 for over a year right now and really like it (although the clustering / JMS stuff seems WAY overcomplicated - and needing 80 config files - not fun!). But anyway it is time to upgrade to JBoss 5 and the path has been marred by...

Yonik Seeley01/13/11
0 replies

Indexing JSON in Solr 3.1

Solr has been able to produce JSON results for a long time, by adding wt=json to any query. A new capability has recently been added to allow indexing in JSON, as well as issuing other update commands such as deletes and commits. All of the functionality...

Robert Diana01/13/11
0 replies

Mobile Payments Could Fundamentally Change Small Business

In the past few days, mobile credit card payments have been making news. First, Intuit announced a free version of its mobile payments service called GoPayment.  Next, we hear that Square raised a very nice funding round:

Martin Fowler01/13/11
1 replies


One of the most common cases of using a TestDouble is when you are communicating with an external service. Typically such services are being maintained by a different team, they may be subject to slow, and unreliable networks, and maybe unreliable ...

Giorgio Sironi01/13/11
7 replies

TDD for algorithms: the state of the art

Uncle Bob's recent formalization of the Transformation Priority Premise may improve the ability to build an algorithm with Test-Driven Development.

Lukas Eder01/13/11
12 replies

2011. A Great Year for Stored Procedures!

When I first started coding Oracle PL/SQL for my employer, I realised that I found myself back in medieval ages. A syntax reminding me of Ada and Pascal, ultra-strong typing, compilers that find compilation errors about 100'000 lines later, etc etc. I was...

Ted Theodoropoulos01/13/11
3 replies

Technical Debt - Part 1: Definition

Technical debt is a subject that is getting a lot of attention lately. Gartner estimates global technical debt at $500 Billion and projects it to reach $1 Trillion in five years. Surprisingly, however, technical debt is a concept that many people in...

Jay Fields01/13/11
0 replies

Clojure: Using Java Inner Classes

Recently, I wanted to add some specific behavior to my Clojure application when any uncaught exception occurred. This is easy enough by calling the setDefaultUncaughtExceptionHandler (sDUEH); however, it's worth noting that the sDUEH takes a...

Dan Dyer01/13/11
0 replies

Adjusting the Opacity of an Android Bitmap

This took me a lot longer to figure out than it should have done. I’m documenting it here in case it’s useful for somebody else searching for a similar solution.

Ryan Sukale01/13/11
6 replies

Using Struts 2 with JSON and jQuery

It took a decent amount of time to figure out how to set up struts 2 with JSON. and how to extract the data using jQuery. So, i thought that i'd better make a note of the stuff i learned and just restate the rules, few as they are, so that me or someone...

Zdenek Tronicek01/13/11
11 replies

RefactoringNG: Bye bye, Hashtable

RefactoringNG (earlier article on DZone here) is a flexible and powerful Java refactoring tool, written as NetBeans module. Below you see how to use it when refactoring Hashtables.