ajesler/dgproc — Issue #1: Update messaging system to use POJOs and not depend on serialization mechanism.
Author: ajesler
Created: 2011-11-22 06:16:08+00:00
State: open

In the future, it might be good to support multiple message encoding / decoding schemes. Currently, only JSON is available, and each message must know how to encode and decode itself. There is also no common interface for doing this.

Using a library like GSON, Jackson, or JSON.org, we could have transparent encoding and decoding of the POJO messages.
GSON does not need annotations, which would be good.
Would also allow us to use other encodings like the default Java serialization mechanism.