Patterns

Where Have All the Singletons Gone?

In Singletons are Pathological Liars we discussed the problems of having singletons in your code. Let’s build on that and answer the question “If I don’t...

11 replies - 3443 views - 08/27/08 by mhevery in Articles

Qi4j: Fixing Dependency Injection

There was a blog post about how "Dependency Injection is Broken". The issues pointed out in the post are dealt with in Qi4j, and I'd like to briefly...

3 replies - 3108 views - 08/21/08 by Rickard Oberg in News

Factories, Builders and Fluent Interfaces

Last week I started working on very short proof of concept with a team that I am currently coaching at a short term insurance company. We hit a very common...

13 replies - 4589 views - 08/18/08 by Aslam Khan in News

Closures - Breaking the Deadlock

The decision threads about closures are currently in a situation that can best be described as a deadlock. BGGA has the most proponents, but also the biggest...

37 replies - 4708 views - 08/14/08 by Mikael Grev in Articles

Efficient XML Processing Using SAX and Java Enums

I had a chance to do some XML crunching lately. I used a design pattern for this purpose which is both efficient and elegant. I'm not sure who thought of this...

9 replies - 6579 views - 08/06/08 by Zviki Cohen in Articles

Executing SOA: An Interview with Robert Laird and Tilak Mitra

Earlier, we reviewed the excellent book Executing SOA: A Practical Guide for the Service Oriented Architect from IBM Press. I recently had the opportunity to...

0 replies - 2233 views - 08/04/08 by Aslam Khan in Articles

Design Patterns Revisited - The Façade Pattern. Hiding the Complexity of the Complex..

It is arguable whether the Façade pattern is a design pattern or not but it sure is a nice tool method for software developers. Since it occupies space both...

2 replies - 4655 views - 08/01/08 by yenerm in Articles