On Fri, 3 Sep 2004 01:10:43 +0100, Niall Pemberton
<[EMAIL PROTECTED]> wrote:
> I agree with what Vic said in this thread on the Servlet Spec issue - if we
> can take the Servlet version out of the equation so that any version can be
> plugged in to the core controller than that would be really good.

We have that already, right?  Struts runs on Servlet 2.2 / 2.3 / 2.4
platforms today.

What you can't do is a fundamental redesign of a controller
architecture that depends on 2.4 features and craft it in such a way
that it's an optional add-on feature that can be plugged in on top of
2.2 or 2.3.  Adding something like "filters that work on a
RequestDispatcher call" cannot be added at the application level --
they have to be done by the container.

Unless, of course, you plan on re-inventing what RequestDispatcher and
Filter do ... but that seems like a monumental waste of time.

> 
> The JDK thing is a different issue though - it could be developed with
> compatibility to existing JDK versions and keep everyone happy. I have no
> technical reasons, but I would like to go to JDK 1.5 simply for the reason
> that it scratches my itch to play with the latest stuff and hopefully
> produce simpler, cleaner code with the new features it provides.

Standard JDK 5.0 annotations cannot be used (inside of Struts) if you
want to work on prior JDKs.  Neither can generics.  Or autoboxing.  Or
(insert-your-favorite-new-feature-here) ...

Without all of that, what's the point again?  :-)

> 
> Niall
>

Craig

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

Reply via email to