> Usually, in servlets I would create a new serializer everytime to avoid
> concurrency problems (reusing a serializer could cause incredible
> deadlocks), but maybe the code is so simple that we could reuse() them
> (even if I don't count on it).
>
> Comments on this?
I don't think every seriali
Assaf Arkin wrote:
>
> I like it.
I like the design too. Well balanced.
> I think init() should be aptly named setOutputFormat(), with a guarantee
> that doing either a setOutputFormat() or setOutputStream() will
> re-intialize the serializer.
Hmmm, some thoughts:
the proposal follows the "co