magpiebrain

Sam Newman's site, a Consultant at ThoughtWorks

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.

Advertisements

2 Responses to “Spring-Command execution overview”

  1. Jason Carreira

    Even with the ObjectFactory? I thought that was the only sticking point? Xwork has the advantage of coming with a validation framework, type conversion, etc..

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Basic HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS

%d bloggers like this: