I wrote this blog nearly two years ago, and was politely asked/advised not to publish it. If I rewrote it today, I'd probably make it a bit shorter. But I think the points are ones our industry needs to learn.
Addendum, two days later: The solution here almost works, but doesn't. You really need the actual servlet, not something being proxied by WicketFilter - action processing happens before the ThreadLocal for the HTTP request and response have been assigned.
I had an interesting thought the other day for a project I'm helping a friend with. Many things we deal with come in key/value pairs (URL parameters for instance). Why not immediately work with objects instead? There's a simple way...Probably someone is already doing this - there are certainly enough serialization libraries out there.
I'm out in Seattle visiting my friend Jon - he has bad RSI right now, so I'm helping him out on a project. He told me an interesting idea he was kicking around when he was at Sun in 1997 or so, about how checked and unchecked exceptions should have been done.
There are a lot of dependency injection/IOC frameworks out there.
What you may not know is that there is a very simple yet useful
one built into the JDK. And it's type-safe.
Here is a simple pattern which you can use to make your
APIs extensible, even by third parties, without sacrificing
your ability to keep backward compatibility.
Where's the state? This is a small but useful question when
deciding how a problem domain gets carved up into objects:
What things have state? What things have values that
can change? When and how can they change? Can the changes be
observed? Who needs to observe changes in state?
One thing which I think about often is the design of code,
Posted by timboudreau on June 24, 2008 at 7:41 PM PDT
Here's three blogs in one (I know, I know, you're not supposed to do that):My friend Geertjan and I just did NetBeans Day Manila, in the Philippines, followed by two days of plugin-writing training at the University of the Philippines.
Posted by timboudreau on June 3, 2008 at 10:12 AM PDT
My colleague Judith Lilienfeld did the MC honors at this year's NetBeans Day in San Francisco. I'm amazed that this went by and did not get blogged about, so I'll have to do the ungainly honors...The demo of the morning was using JasperReports iReport plug-in to create a report with pie charts based on a database, without writing any code.