A Throttling CompletionService

by Dana H. P'Simer
Mon, Jun 8, 2009

The CompletionService interface defines a service that allows the caller to submit tasks to be completed in the future. A commonly used implementation is the ExecutorCompletionService, which uses an Executor to run the tasks that have been submitted.

Resin and Session Clustering

by Dana H. P'Simer
Wed, Apr 30, 2008

In a world where AJAX is becoming the norm instead of the exception we need technology platforms that allow us to scale these applications. I have been working on an application for a major hotel chain that is used by their call center agents to book reservations at their hotels. The application uses AJAX techniques to run several queries simultaneously and presents the data in a very dynamic interface that closely resembles a traditional desktop application. There are multiple tabs in many areas of the application that load data in the background so that it is available when the user wants to see it.

Acegi Filter Does Not Work in WebSphere

by Dana H. P'Simer
Tue, Feb 6, 2007

It seems there is a bug in WAS that was introduced with I found this forum post on the subject.

Java 1.5 Generic DAO

by Dana H. P'Simer
Fri, Oct 6, 2006

I am always looking for ways to limit the amount of typing I have to do. Hibernate helps me alot because I don’t have to write all the SQL and I can concentrate on the less tedious aspects of designing my persistence model. Spring helps me alot because I don’t have to write all those factories and other “glue” code.

Spring for Plain old Java Applications (POJAs)

by Dana H. P'Simer
Thu, Jul 13, 2006

Most J2EE developers have at least heard of the Spring framework and know that it is an excellent framework for creating enterprise applications. I have recently needed to create an application that runs from the command line and is short lived. It has no GUI but I wanted it to be configurable and extendable in various ways. To that end, I defined a bunch of interfaces for the objects in the system to use when interfacing with other objects. Then I started thinking about the implementations of these interfaces and the factory classes I would need to create. I said to myself “Self, doesn’t Spring already do this?” and I answered myself, “Why, yes”. So I decided to try it.