Craig McClanahan wrote:
On 8/16/06, *Joe Shevland* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
Sorry if this has been discussed but I haven't found a huge amount of
[snip]
Cheers
Joe
The dependency that would be the hardest to try to work around is the
use of a ServletRequestListener to fire init/destroy events for view
controllers and related beans. This API did not exist in Servlet 2.3,
although it *might* theoretically be possible ot use a Filter to do
some of this stuff.
The other dependency, which I can't see any way around, is if you are
using the application controller filter, and you want that to apply to
RequestDispatcher.forward calls as well -- there's no way to emulate
this technique in 2.3. But it's not necessarily something that would
affect all users of Shale, the way the first issue is.
One of the hard parts about designing frameworks is deciding how to
balance between supporting old APIs (to deal with users like you who
are stuck and can't change) versus focus on enabling the use of new
things. J2EE 1.4 (which includes Servlet 2.4) has been around for a
couple of years now, and it would make building Shale a *lot* more
complicated (plus limit what we can do) to support older revs, when
the opportunities to improve ease of use through leveraging new APIs
are there, and have been there for quite a while.
I really sympathize with your position, but I think Shale needs to
maintain it's base platform dependencies including Servlet 2.4 in
order to address the current and future needs.
Craig
Hi Craig,
Thanks for the response, and yep understand the tradeoff there trying to
choose between a fairly ancient spec and using the enhancements in the
new, as well as the extra overhead/resources it'd take to maintain both
versions. I might spend a bit of time seeing if we can work around #1,
and see if we can live without #2, though I think we've mapped a lot of
controller classes to view ID's at this stage. Anyway, I'll look forward
to using the latest version on other projects, and keep trying to get an
upgrade happening here. I think Websphere was specially crafted as a
torture device for me being bad in a previous life.
Cheers
Joe