After reading CrazyBob's article about sudo closures in java some time ago I made
it a point to familiarize myself with this particular idiom as well as others that
are often talked about but rarely used within the java community. Unfortunately
some time passed and as most things this todo slipped my mind until I stumbled
upon this article.
The article was rather short but provided practical...
on Jan 19, 2005
In my current project, there are several new solutions to some old patterns and there are also several new patterns, which were created to provide better performance and efficiency for the system. In this blog, I will attempt to provide you with information regarding each of the following patterns. Later blogs may include the details of why they were chosen, how they were put together, any...
on Oct 29, 2004
Everyone speak about Patterns, Specially Design Patterns.
And I readed a lot about patterns:
Applying UML & Patterns
Design Patterns Java Workbook
(in fact, I read the french translation of that book, and I can give a tip to our french reader: buy the french edition, it's cheaper than the english one and you will have on the CD the electronical version of the english one. )...
on Sep 21, 2004
The conceptual goal of this article is to convince component developers that the rules that govern form validation should be embedded in the form definition rather then spread between business and presentation logic. This approach (which I have advocated before) simplifies the mapping between requirements and implementation, and leads to code that is easier to maintain.
Forms are first class...
on Jul 6, 2004
When I was old enough to join the Cub Scouts, my father got me a really impressive Swiss Army Knife. For an 8 year old boy this gift was pretty cool, and I proudly lugged the thing around with me on all of our camping trips. I cannot recall all the tools, but there were several blades, screw drivers, can openers, and I distinctly remember a corkscrew.
After the "new" had worn off, the knife...
on May 6, 2004
A reference to this article by Clay Shirky was posted to a Patterns mailing list I belong to. I found the new perspective on software engineering so fascinating that I thought others would be interested as well.
Mr. Shirky describes his experiences while teaching at NYU and the approaches his students took when creating software for very specific, well-known social groups. He's basically...
on Mar 31, 2004
Some seemingly random thoughts struck me as I read
Satya Komatineni's blog Architecture is language agnostic...:
No offense but... Architecture is only agnostic in the abstract. Architecture must be made manifest through language. In the particular discussion of C# and Java, both languages are so similar that manifesting architecture through them is basically equivalent. Try expressing the...
on Nov 24, 2003
Say for example that you want to unit test a Service Locator - a class that looks up data sources, topics, queues, etc from JNDI. How would you go about doing this?
One option would be to simply setup a JNDI environment inside a J2EE application server and write some JUnit tests to run inside the container. While this works, ideally you may want your unit tests to run independently and quickly...
on Nov 21, 2003
Joel Spolsky ("Joel on Software") built his company offices designed for actual programmers and their teams. A radical notion, really. Here's one sample: Put lots of outlets in each office at desk height. No reason to be crawling on the floor with your butt in the air as an invitation to anyone passing by. Also some cool ideas about floor plans to increase everyone's light, etc.
on Sep 28, 2003
JavaOne is over - thank God! It's a great conference for finding out who is doing what in Java, and there are lots of opportunities to learn Java-related things. But I prefer conferences not so identified with a single company - hey, even when it's my own.
This month there are two different sorts of conferences that might deserve your look. Both are heavy into Java, but their focus is elsewhere....
on Jun 15, 2003
I’m Dick Gabriel, a computer scientist at Sun. I’ve been working in and around programming languages since 1975 and around objects since 1984 or so. These days I’m active in OO conferences and software patterns, and most of my blogs will be about those.
But the first time around I wanted give you my perspective on Java. Most importantly - and somewhat paradoxically - I had nothing to do with Java...
on Jun 9, 2003