Friday, July 04, 2003
Solve the date-selection problem once and for all
The Java Toolbox column returns with this tutorial about a date-selection widget that displays a calendar and lets you select a date by clicking on it. It heavily uses the Gang of Four Decorator design pattern, so it provides a good example of that pattern at work; the article is as much about Decorator as it is about calendar widgets. The associated code demonstrates how to use Java's java.util.Calendar class and how to build a lightweight Swing dialog with custom framing and title bars. (2,800 words; July 7, 2003)

How to drag and drop with Java 2, Part 2
Drag and drop (D&D) is an intuitive GUI gesture used for transferring data from one GUI component to another. This second article in the drag and drop series explores how you can transfer data besides text and discusses the issues involved with developing a library of D&D-enabled project Swing components. (4,400 words)

Thursday, July 03, 2003
Distributed Computing Economics
Computing economics are changing. Today there is rough price parity between (1) one database access, (2) ten bytes of network traffic, (3) 100,000 instructions, (4) 10 bytes of disk storage, and (5) a megabyte of disk bandwidth. This has implications for how one structures Internet-scale distributed computing: one puts computing as close to the data as possible in order to avoid expensive network traffic.

Very, very interesting conclusion: put the computation near the data. This is another way of saying you should only move large chunks of simple data around that have already undergone as much computation as possible. Interestingly this is also an argument for code mobility. #

XML Publishing with Cocoon 2, Part 1
One of the most important decisions to make when deciding to build an application is "Upon what foundation should I build?" This is a two-fold question, depending not only upon the language in which the application will be developed, but also the framework, if any, that will provide fundamental services and infrastructure to your system.

Wednesday, July 02, 2003
Swing model filtering
This article discusses the technique of model filtering. You can use this technique with the Swing component set to provide alternative views of model data without altering the underlying data. Filters can alter the apparent content of data elements, exclude data from being viewed, include extra elements in a set of data, or present elements in a different order. You can apply filters to either data or state models, and you can layer filters to combine their effects.


the server side
dotnet junkies
sam gentile
sam ruby
paul prescod
.net guy
jon udell
john robb
blogging roller
desktop fishbowl
cafe au lait
be blogging
kevin burton
james strachan
the truth is out there
brett morgan
blogging roller #2
joe's jelly
psquad's corner
rickard oberg
the saturn times
russel beattie
gerhard froelich
pete drayton
clemens vaster
ingo rammer
ken rawlings
simon fell
bit working
justin rudd
chris sells
john lam
jim murphy
brian jepson
john burkhardt
matt pope
better living through software
loosely coupled
understanding software engineering
rest lst,rdf-interest lst,tag lst ucapi lst

A man, his puppy, and a double barreled shotgun.

Powered by Blogger