magpiebrain

Sam Newman's site, a Consultant at ThoughtWorks

Archive for ‘March, 2004’

Command Execution Overiew - Click to Zoom

I lieu of some actual code, I thought I’d post a high-ish level overview diagram of how commands are executed and handled. Those of you who’ve used “XWork”:http://wiki.opensymphony.com/space/XWork may notice that it looks very familiar – which is unsuprising given that I had no problems with XWorks design itself. The real benifit of this framework over XWork (in addition to the fact that it has a more fully featured IoC framework) will be that it will have a whole host of cloesly integrated UI helper classes thanks to the “spring-rcp”:http://jroller.com/page/kdonald/20040225 project. Due to the nature of XWork (being the underpining of “WebWork”:http://www.opensymphony.com/webwork/) restructuring it to fit in with my goals was a non-starter.

The code is coming together nicely – adding the @ValidationInterceptor@ is my next job, followed by the @ResultInterceptor@ – both of which should be fairly easy.

In preparation for the next “London Java meetup”:http://web1.2020media.com/j/jez/javanicuscom/londonjava/, I’ve been playing around with “Robocode”:http://www.alphaworks.ibm.com/tech/robocode with a view to embarrassing myself in front of fellow coders. For those who don’t know, it was originally developed as a teaching tool by IBM – its a complete development environment for coding little Robots that try and blow other robots up, and its very fun in a “why is my robot doing that? Where is he going? Why won’t he fire, for the love of god, FIRE!” kind of a way. Hopefully Robocode will get a wider audience with the great news that IBM have “decided to opensource it”:http://www.alphaworks.ibm.com/forum/robocode.nsf/current/76296EA3B19C41F092246E236222BC66?OpenDocument.
Or they won’t yet – “apparently”:http://www.alphaworks.ibm.com/forum/robocode.nsf/current/990448567D8271246D13D1A191A50F19?OpenDocument that was a fake post, but IBM developer Mat Nelson is “working on it(nterested in opensource Robocode?)”:http://www.alphaworks.ibm.com/forum/robocode.nsf/current/91022251A742C56E71C7678B16754504?OpenDocument.