When unit testing classes that are going to be remotified (it's a
word), it's important to test that the parameters and return types can
be serialized/deserialized properly.  What if commons-proxy included a
neat little helper class that makes a serialized copy of the
parameters of an invocation before passing them to the target object
and then makes a serialized copy of the return value before returning
it?  Does that sound too obscure?  I came up with the idea today when
a co-worker was having trouble getting their unit tests to exhibit a
serialization issue.

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

Reply via email to