Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Tough Questions on Struts and Webwork Integration

    6 answers - 3177 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Message
    From: Don Brown [mailto:mrdon (AT) twdata (DOT) org]
    ==////==
    Pilgrim, Peter wrote:
    great so is Ted Husted also involved in the 2nd edition
    and I presume Manning is fine with both Struts in Action
    and Webwork in Action in the future ``merging'' as one.
    Ted has helped early on by reviewing our proposal and TC,
    but the book is being
    written by Nick Heudecker (of Hibernate Quickly) and myself.
    I actually haven't
    talked to Manning since the merger was announced :) but they
    did know big
    changes were in the works.
    I have just read Niall's question and answer. So WebWork will
    probably usurp the Struts Core layer at some point, correct?
    I'm not sure what you mean. The WebWork 2.2 code will become
    Struts Ti core,
    hopefully the basis for Struts Action 2.0. I see both Struts
    Action 1.x and
    Struts Action 2.0 as viable frameworks for developers to work with.
    If I understand you rightly the traditional `RequestProcessor'
    derived process flow, namely
    ActionServlet =RequestProcessor =Action =View
    is gone to be replaced by the WebWork / X Work processing
    chain.
    If someone has invested in Commons Chain command will they
    be able to quick migrate or directly use Struts 2.x
    engine.
    Is there an equivalent of the `RequestProcessor' concept in the
    webwork/xwork?
    it makes a little clearer.
    So developers have a choice?
    1) Learn the WebWork 2.x philosophy
    2) Don't learn WW2 way but use the Struts compatibility layer
    instead until it runs out of steam or is it deprecated.
    Sure, although I imagine the compatibility layer is there
    mostly for application
    migration and not so much for new development. I think there
    is a lot of value
    in being able to upgrade your application piece by piece and
    not requiring a
    huge rewrite, which is I believe one of the big selling
    points of Struts Ti as
    opposed to JSF.
    That begs the question, what is the best way for Struts developer
    to learn WebWork 2.
    I'd say pick up the WebWork in Action book
    () written by the
    primary WebWork
    developers themselves. course once Struts in Action 2ed
    comes out, it will
    be better ;)
    Has anyone writen a WebWork introductio guide for experienced
    Struts users yet?
    So Struts Ti definitely requires Java 5, because of annotations.
    Nope. The first phase of Struts Ti won't have the annotation
    stuff in there,
    but the second phase will probably use a nifty annotation/tag
    layer Rich Feit of
    Beehive wrote which allows developers the choice to use Java
    5 annotations or
    XDoclet style tags.
    Therefore, to be clear, Struts Ti will only require Java 1.4
    or greater, just
    like Struts Action 1.3.
    That's good to know.
    Thanks for answering my questions
    No problem. They were such good questions, in fact, I'll try
    to make them into
    a FAQ on the wiki here soon, as I imagine they will be quite
    common. :)
    that's a great idea
    Don
  • No.1 | | 1803 bytes | |

    Pilgrim, Peter wrote:
    If I understand you rightly the traditional `RequestProcessor'
    derived process flow, namely

    ActionServlet =RequestProcessor =Action =View

    is gone to be replaced by the WebWork / X Work processing
    chain.

    If someone has invested in Commons Chain command will they
    be able to quick migrate or directly use Struts 2.x
    engine.

    Is there an equivalent of the `RequestProcessor' concept in the
    webwork/xwork?

    There isn't directly, and this was one of the first additions I made to WebWork
    when I started Struts Ti. In WebWork, the servlet dispatcher does everything
    prior and including identifying the Action, then hands it off to the interceptor
    chain. My code in Struts Ti replaced this with a servlet that hands off to a
    RequestProcessor, which used Commons Chain to perform all the preprocessing.

    I plan to be adding this back in shortly after we import the WW code base.

    >>I'd say pick up the WebWork in Action book
    >>() written by the
    >>primary WebWork
    >>developers themselves. course once Struts in Action 2ed
    >>comes out, it will
    >>be better ;)
    >>


    Has anyone writen a WebWork introductio guide for experienced
    Struts users yet?

    Nope, and no offense to Patrick, but web documentation wasn't a strong point of
    WebWorknow this new WebWork in Action book on the other hand :)

    Rest assured, this will be a key requirement before we create the first Struts
    Ti release.

    Don

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org
  • No.2 | | 1149 bytes | |

    >There isn't directly, and this was one of the first additions I made
    >to WebWork when I started Struts Ti. In WebWork, the servlet
    >dispatcher does everything prior and including identifying the
    >Action, then hands it off to the interceptor chain. My code in
    >Struts Ti replaced this with a servlet that hands off to a
    >RequestProcessor, which used Commons Chain to perform all the
    >preprocessing.
    >
    >I plan to be adding this back in shortly after we import the WW code base.


    I'd been meaning to follow up on this. I think you, or someone,
    briefly floated the idea of building the Struts compatibility layer
    at S.org before doing the import.

    If it was you, I assume you've changed your mind? If it wasn't you,
    no bother -- I think the better approach is to bring it here.
    Presumably the Struts committers are going to heavily involved in the
    compatibility, so if for no other reason, it will be easier for us to
    work on that in an Apache.org repository.

    How many WebWork committers are there, anyway?

    Joe
  • No.3 | | 1768 bytes | |

    Joe Germuska wrote:
    >There isn't directly, and this was one of the first additions I made
    >to WebWork when I started Struts Ti. In WebWork, the servlet
    >dispatcher does everything prior and including identifying the Action,
    >then hands it off to the interceptor chain. My code in Struts Ti
    >replaced this with a servlet that hands off to a RequestProcessor,
    >which used Commons Chain to perform all the preprocessing.
    >>

    >I plan to be adding this back in shortly after we import the WW code
    >base.


    I'd been meaning to follow up on this. I think you, or someone, briefly
    floated the idea of building the Struts compatibility layer at S.org
    before doing the import.

    I have mentioned it before, although I don't know if it was me you are thinking
    of specifically. WebWork could support Actions and ActionForms pretty easily, I
    believe, evidenced by their existing ModelAware interceptor which supports the
    model as a different object than the action.

    If it was you, I assume you've changed your mind? If it wasn't you, no
    bother -- I think the better approach is to bring it here. Presumably
    the Struts committers are going to heavily involved in the
    compatibility, so if for no other reason, it will be easier for us to
    work on that in an Apache.org repository.

    How many WebWork committers are there, anyway?

    Patrick and Jason, then 3 or four others. Patrick, you want to add anything here?

    Don

    Joe

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org
  • No.4 | | 2127 bytes | |

    The docs are getting a _lot_ better. We're doing a 2.2 beta 4 release
    today that will have a bunch more docs.

    Nov 30, 2005, at 10:15 AM, Don Brown wrote:

    Pilgrim, Peter wrote:
    >If I understand you rightly the traditional `RequestProcessor'
    >derived process flow, namely
    >ActionServlet =RequestProcessor =Action =View
    >is gone to be replaced by the WebWork / X Work processing
    >chain.
    >If someone has invested in Commons Chain command will they be able
    >to quick migrate or directly use Struts 2.x
    >engine.
    >Is there an equivalent of the `RequestProcessor' concept in the
    >webwork/xwork?
    >

    There isn't directly, and this was one of the first additions I
    made to WebWork when I started Struts Ti. In WebWork, the servlet
    dispatcher does everything prior and including identifying the
    Action, then hands it off to the interceptor chain. My code in
    Struts Ti replaced this with a servlet that hands off to a
    RequestProcessor, which used Commons Chain to perform all the
    preprocessing.

    I plan to be adding this back in shortly after we import the WW
    code base.

    I'd say pick up the WebWork in Action book (http://
    ) written by the primary WebWork
    developers themselves. course once Struts in Action 2ed comes
    out, it will be better ;)

    >Has anyone writen a WebWork introductio guide for experienced
    >Struts users yet?
    >

    Nope, and no offense to Patrick, but web documentation wasn't a
    strong point of WebWorknow this new WebWork in Action book on
    the other hand :)

    Rest assured, this will be a key requirement before we create the
    first Struts Ti release.

    Don

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org
  • No.5 | | 2450 bytes | |

    I think doing the compatibility layer after the code is imported in
    to Apache makes sense. WebWork has various developers who go in
    spurts of involvement. The two core developers are Jason and myself.
    Lately, there have been about 3 or 4 others pretty actively involved,
    but I'm sure they wouldn't mind going through the normal process to
    get commit access again after the merger.

    Nov 30, 2005, at 11:06 AM, Don Brown wrote:

    Joe Germuska wrote:
    There isn't directly, and this was one of the first additions I
    made to WebWork when I started Struts Ti. In WebWork, the
    servlet dispatcher does everything prior and including
    identifying the Action, then hands it off to the interceptor
    chain. My code in Struts Ti replaced this with a servlet that
    hands off to a RequestProcessor, which used Commons Chain to
    perform all the preprocessing.

    I plan to be adding this back in shortly after we import the WW
    code base.
    >I'd been meaning to follow up on this. I think you, or someone,
    >briefly floated the idea of building the Struts compatibility
    >layer at S.org before doing the import.
    >

    I have mentioned it before, although I don't know if it was me you
    are thinking of specifically. WebWork could support Actions and
    ActionForms pretty easily, I believe, evidenced by their existing
    ModelAware interceptor which supports the model as a different
    object than the action.
    >
    >If it was you, I assume you've changed your mind? If it wasn't
    >you, no bother -- I think the better approach is to bring it here.
    >Presumably the Struts committers are going to heavily involved in
    >the compatibility, so if for no other reason, it will be easier
    >for us to work on that in an Apache.org repository.
    >How many WebWork committers are there, anyway?
    >

    Patrick and Jason, then 3 or four others. Patrick, you want to add
    anything here?

    Don
    >
    >Joe
    >
    >


    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org
  • No.6 | | 2295 bytes | |

    11/30/05, Joe Germuska <Joe (AT) germuska (DOT) comwrote:
    Presumably the Struts committers are going to heavily involved in the
    compatibility, so if for no other reason, it will be easier for us to
    work on that in an Apache.org repository.

    I plan to be very heavily involved in compatiblity and migration
    issues. I'd like to start by updating the MailReader to use 1.3 best
    practices, and then rewrite that version for WebWork 2.2, using
    WebWork's best practices. Then, I'd like to migrate something with
    more teeth in it, like the iBATIS JPetShop, as it stands.

    Based on that experience, I would like to start working on migrations
    tools, strategies, and documentation that describe and assist moving
    existing Struts applications to WebWork, in the most painless way
    possible. I often work with large teams, and I am very aware of the
    importance of retaining skill sets and working code.

    Along the way, we are likely to identify some minor features that
    should be added to WebWork, perhaps as part of the WebWork 2.3
    release.

    My suggestion would be to build the migration tools and documentation
    at Symphony. An important aspect of the migration is that when we
    are done, we are on the WebWork path and using WebWork best practices.
    The best place to discover WebWork best practices is by working with
    the WebWork community.

    I think it might assuage everyone's concerns if Struts committers were
    to work on WebWork-centric code at WebWork, before we bring the
    WebWork codebase through the incubator. As it stands, WebWork 2.2 is
    still beta, and I believe there are some things planned to be resovled
    in WebWork 2.3. Perhaps we can help with that too.

    I'd suggest we keep the WebWork project velocity up, work on the new
    tools as part of WebWork, and then bring the codebase through the
    incubator, when it's ready to go.

    I thnk If some of us spend more time at WebWork, we can build strong
    ties with the user community that will serve us well when the projects
    merge.
    -Ted.

    To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org

Re: Tough Questions on Struts and Webwork Integration


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Java"

EMSDN.COM