The pojo is simply data schema for communication between modules. The serialization format can be Java binary object, protobuf, or JSON.