Is there a way to test (de)serialization outside the
servlet-container.  I'm getting some errors in my Deserialization
class and would like to write a testcase for it, but having to deploy
my application each time makes the code-compile-debug cycle terribly
long.

I guess I can call the onStartChild() method directly with some
seemingly appropriate parameters, but I don't think that will be
enough because it doesn't test the assumptions I've made on how this
is used.  (Which I'm forced to make, because the documentation on this
is rather thin...).

It would also be an educating experience to play with the resulting
xml and see how the (de)serialization behaves in different
circumstances.



Rolf Rander


-- 
tlf: +47 92820227                            (c) 2002 Rolf Rander N�ss
http://www.pvv.org/~rolfn/

In a world without fences, there's no need for Gates.

Reply via email to