Patterns

Asynchronous Write Behinds and the Repository Pattern

The following is a typical implementation of service methods of the domain model of an application. The Repository is injected and is used to persist the...

6 replies - 2906 views - 02/03/09 by Debasish Ghosh in Articles

When to Use Dependency Injection

A great question from a reader...The only thing that does not fully convince me in your articles is usage of Guice. I’m currently unable to see clearly its...

15 replies - 5634 views - 01/15/09 by mhevery in Articles

JSF Anti-Patterns and Pitfalls

This article covers anti-patterns and pitfalls of day to day JSF development. Most of these issues have kept the author up at night; some of these are the same...

5 replies - 15213 views - 12/12/08 by dennisbyrne in Articles

Asynchronous Restful Web Application

This blog annotates the Jetty 7 example web application that uses Jetty asynchronous HTTP client and the proposed suspendable servlets 3.0 API, to call an eBay...

0 replies - 5070 views - 12/09/08 by gregwilkins in News

Beautiful API Design

When I first began to program in Java, I loved the Java language a lot. I used to program in Pascal, Delphi ,Visual Basic and C but Java was very different...

2 replies - 6459 views - 11/26/08 by Ibrahim in News

Advanced ESB Patterns and Techniques

In this presentation, recorded at EclipseWorld 2008, Burr Sutter demonstrates the customary capabilities associated with an Enterprise Service Bus (ESB)...

1 replies - 8374 views - 11/25/08 by Nitin Bharti in Videos

Design Patterns - The Cult to Blame?

I always thought that the GOF Design Patterns book achieved it's objective to make us better C++/Java programmers. It taught us how to design polymorphic class...

5 replies - 4960 views - 11/10/08 by Debasish Ghosh in Articles

RESTful Web Applications with Subbu Allamaraju

Subbu works at Yahoo! developing standards, patterns and practices for HTTP web languages. In the past, he was a web service and Java developer. He was also a...

4 replies - 3695 views - 11/03/08 by Matt Raible in Articles

Language Construct vs. Design Pattern - PHP Arrays In Java

Automated migration is a difficult task because of many reasons. One of them is the need to ensure a good code quality for the generated code. Migrating from...

3 replies - 4565 views - 10/24/08 by Robert Enyedi in News

Next Up: Code Generation

Ok, after looking at the JSF issues I‘ve been blogging about, and RF and some of the other things in the wind (the Spring meltdown), I have decided that the...

3 replies - 2686 views - 10/07/08 by Rob Williams in Articles

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 - 19287 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 - 4338 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 - 6648 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 of...

1 replies - 5725 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 - 3337 views - 08/29/08 by mhevery in Articles