I've spent some time with this, and it's a truly stellar package ;-)

Any plans regarding the Registry interface and base class? For testing
purposes, I put one together using Activities as a base (annexed), and
reserved namespace for adding processes later. The base class implements
a FastHashMap for the Activities, following what Struts does for
Actions. I'll commit it if it doesn't conflict with any immediate plans.

I'm trying to hack together a Struts version, and add a demo to
Struts-Simple with my other wizard demos, but would like more than one
activity to play with ;-)

So far, I split the servlet into a "service" component to load the
Registry/Activities, and put the code that executed the Steps in to an
Action. So the model I'm working on here is the one where there is one
Struts Action to handle all the Acivities (though I'm thinking there
will be different mappings, for the local forwards).

Three excrutiately minor things: 

1. Do we want to use http for a package name instead of web, to
reinforce the relationship with the Sun packages? 

2. BaseScope.remove() seems only to remove the object from the
LOCAL_SCOPE, rather than all scopes as documented. Should I fix that, or
am I missing something?

3. BaseContextBean declares HashMap scopes but doesn't seem to use it. I
don't understand JPath well enough to tell if it needs to use it or not.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/

Registry.java

Reply via email to