Category Archives: Technical stuff

Tic Tac Toe

I’ve been working on a simple Tic Tac Toe game. Most things going well, but I’ve been working on the painting of the X’s and O’s within the insets of a given JButton. In the end, the calculation that actually … Continue reading

Posted in Swing | Leave a comment

WebWork-2.2 and Generics

I’m working on a settings screen (using JSP) which iterates over a Map of generic SettingEntries. A SettingEntry is defined as follows: public class SettingEntry <T> implements Serializable { private final String key; private final T defaultValue; private T value; … Continue reading

Posted in Technical stuff | Leave a comment

Context-sensitive menu using WebWork

Looking to build a generic context-sensitive menu using WebWork. Came up with the following requirements: All items described below are menu elements. A menu element has a name attribute. A menu element has a parent menu element. If a menu … Continue reading

Posted in Technical stuff | 1 Comment

DBDesigner 4

Ok, so I’m starting the domain design section of a project. I usually get the generic attributes and relationships down, and start a real simple domain model using Access. Then import that into Visio. Once in Visio I get a … Continue reading

Posted in Technical stuff | 3 Comments

I think Open Source is good, and technology helps makes life easier.

If your interested, no, I could not think of a better title. Since the late summer of 2003, I’ve been working on a side project. It wasn’t much, simply an apartment rental application. The main features were: Allow a renter/seeker … Continue reading

Posted in Technical stuff | 15 Comments

State Management with the Http Session

If you’re using a MVC web framework, such as WebWork or Struts, you might have had to store long-term state in your Http Session. At my job, since we do not use Stateful Session Beans, this is common. So, the … Continue reading

Posted in Technical stuff | 3 Comments

patterns in action

I’ve been thinking about starting a web app project. I came up with a bunch of horrible ideas, but I think this one is good. There are millions (might be an exaggeration) of UML diagrams explaining design patterns. I think … Continue reading

Posted in Technical stuff | 1 Comment