Patterns

  • submit to reddit

A Simple Clustered Task Distribution System

This article will introduce the basic concepts of JGroups and then implement a task distribution system (on top of JGroups), where tasks can be placed into the...

4 replies - 48814 views - 10/06/08 by Bela Ban in Articles

What's the Best Way to Handle Exceptions?

It seems, given my limited experience, that handling exceptions depends entirely on the context in which you are developing. As a fan of "rules" that...

16 replies - 9908 views - 10/03/08 by Riyad Kalla in News

GWT: Building A Model

The model layer of a GWT application has to be a little bit smarter than the model in many traditional web applications. It needs to be responsible for...

3 replies - 13061 views - 09/22/08 by Schalk Neethling in News

Software Rhythm Part 1: The Opening

I’ve been thinking about doing a series of posts on this for a while. For some reason I’m inspired to write it now. I’ve been involved in a number...

1 replies - 13054 views - 09/10/08 by Alex Miller in News

Root Cause of Singletons

Since I have gotten lots of love/hate mail on the Singletons are Pathological Liars and Where Have All the Singletons Gone I feel obliged to to do some root...

13 replies - 5230 views - 08/29/08 by Misko Hevery in Articles

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 - 5691 views - 08/27/08 by Misko Hevery 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...

3 replies - 5988 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...

14 replies - 12675 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...

40 replies - 8563 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 - 13306 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 - 7037 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 - 7827 views - 08/01/08 by Murat Yener in Articles