a few questions related to adding session cleanup, that I'd be interested in
getting answers to before I write any code.


1: how important is it for everyone that axis runs on a pre servlet2.3
system? I think 2.2 should still be supported as well as we can.

2. if I add a sessionlistener class to do session cleanup, will everyone who
actually builds axis have access to servlet2.3.jar, even if axis still runs
happily on 2.3

3. Does anyone know a way of adding a session listener at runtime, rather
than through the web.xml declaration, as if we add it that way we'll need to
produce separate web.xml and webapps for 2.2 and 2.3? Which isnt that hard,
if we move to xdoclet1.2 generation of stuff, just complicates redist a bit.

4. how do you test session listeners?

If we dont use sessionlisteners, we can still do cleanup with a housekeeper
thread, for which I have the source around somewhere as they always make an
appearance in a big app, and I know how to tests them even before
deployment. I am just reluctant to add a timer/housekeeper service to the
axis api unless we dont have a choice.

Thoughts?




Reply via email to