> I'm new to MINA, I'm developing a multiplayer checkers Java game using
> MINA. First, I started developing a lot of messages and their encoders
> and decoders, then came up across the ObjectSerializationCodec.
> 
> And I wonder: when it's preferred NOT to use ObjectSerializationCodec?
> Since it already "implements" encoders and decoders for any message
> that can be sent.
> 
> Maybe for performance? In order to avoid the Object serialization
> overhead?

I'm pretty sure Object serialization is faster than custom parsing more times 
than not - just beware you are not serializing/sending more data than 
necessary.  It's just that in a heterogeneous environment, Object serialization 
is generally not an option.

Cheers,
Henrik Gram

Reply via email to