[Opensource] [Expresso 5 Design Architecture]
ControllerResponse.findForward
Michael Rimov
rimovm at centercomp.com
Mon Oct 14 11:40:06 PDT 2002
<snip> <snip>
At 06:26 PM 10/14/2002 +0100, you wrote:
>This would also allow us the oppurtunity to expose the `ActionMapping'.
>It would also be attractive to pure Struts users.
>
>However, the trouble is that when Mike Nash originally integrates Struts
> in to EF he wanted to hide the Struts / Servlets from the controller
> functionally.
>He wanted to able to run Controller outside the HTTP Java Servlet enviroment.
>
>So what do we do, then ?
>
>One idea I suppose is to introduce a special subclass
>`ServletControllerResponse' and then heavy HTTP specific Controller can
>just cast downwards.
>
> ControllerResponse myResponse = ...
> ServletControllerResponse theRealthing =
> (ServletControllerResponse) myResponse
>
>
>Ideas?
I like it! Since I run Controllers outside a web environment, I especially
appreciate the design decision :)
I'll be merging the "expresso4-1" branch in CVS into HEAD and then
re-branching so that we have a HEAD branch and an expresso5-0-1
branch. Once I'm done the 'housekeeping', feel free to check what you're
talking about into HEAD. [I'll post here when I've got it done]
-Mike
More information about the Opensource
mailing list