Believe it or not, Beehive (http://beehive.apache.org) has been
applying Java 5 annotations to Struts 1.1 / 1.2 for a couple of years.
 So, there's another existence proof that this is possible and can
even make things easier.  :)

  We've done this in a sub-project of Beehive called NetUI. 
Certainly, NetUI isn't perfect -- what software ever is ;) -- but it's
worth taking a look at as a source of ideas and lessons learned.  Rich
Feit (on the Beehive PMC and also a Struts committer) worked with Don
on Struts Ti, so I think that there's even an updated version of
NetUI's annotation model in the Ti sandbox.

  If you're curious, there is some relevant NetUI documentation here:

    http://beehive.apache.org/docs/1.0.1/netui/pageFlowControllers.html

and a few Beehive folks that are probably interested in sharing
lessons learned and maybe even helping build annotations for Struts
1.x / 2.x.  :)

Eddie



On 3/20/06, Phil Zoio <[EMAIL PROTECTED]> wrote:
>
>  From a workload point of view it wouldn't have made sense for me to go
> down the Java 1.4 annotations route to begin with. What would now make
> it quite difficult to do ex-post is because other Java 5 features are
> used in lots of places (e.g. lots of for ... loops), generics, etc - I
> pretty much accepted the Java 5 limitation from the beginning.
>
> Phil
>
>
> Joe Germuska wrote:
>
> > At 9:15 AM -0800 3/20/06, Craig McClanahan wrote:
> >
> >> On 3/20/06, Phil Zoio <[EMAIL PROTECTED]> wrote:
> >>
> >>>
> >>>  Ted,
> >>>
> >>>  In response to your comment:
> >>>
> >>>  "The original Struts Action codebase suffers from design deficiencies
> >>>  that would take some effort to remedy."
> >>>
> >>>  This may be true, but I don't believe that it is a completely lost
> >>> cause.
> >>>  The work that I have been doing with Struts Java 5 extensions
> >>> proves (to me
> >>>  at least) that it is possible to move from the existing 1.2 code
> >>> base to
> >>>  something with compelling features and free from the issues often
> >>> associated
> >>>  with the Struts Action 1.
> >>>
> >>>  See:
> >>
> >>  > http://www.realsolve.co.uk/site/strecks/index.php
> >>
> >>>
> >>>  Phil
> >>
> >>
> >>
> >> I happened to see Phil's presentation to the JAVAWUG group in London
> >> last
> >> Friday.  There are some interesting ideas here (and they would seem
> >> applicable in either a 1.x or 2.x Struts Action Framework context).
> >> I would
> >> suggest thinking about an optional layer (requires JDK 1.5) on top of
> >> the
> >> base framework that made available features like this ... similar in
> >> spirit
> >> to what the Tiger Extensions do in Shale.
> >
> >
> > I haven't had a chance to look at Phil's work yet, but would just
> > point out that it's possible to use annotations without requiring Java
> > 5.  That may not be an itch Phil wants to scratch, but worth keeping
> > in mind unless there are other aspects which also require Java 5.  I
> > know my sysadmin has pretty much guaranteed that we are a year or more
> > away from moving our hosted systems to Java 5, and I doubt he's the
> > most conservative one out there.  (well...  maybe :) naah.)
> >
> > Spring, at least, supports Annotations in pre-Java-5, so there is an
> > example that could be mined.  I don't know how much extra effort it
> > takes, but I thought I'd throw it out there...
> >
> > Joe
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to