Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6758

Research Jackson serialisation replacement

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • GSoC Sprint 4: Kafka

      we use Jackson already for the objects on the restful endpoints (accessed by UI). And for that we restrict the (de)serialized properties, e.g.:
      https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/iOSVariant.java#L40

      now, in the push side (e.g. TokenLoader replacement for JMS) we need these values, hence a Jackson based approiach is limited.

      A few options:

      • GSON or another JSON library
      • Different protocol (Avro, but that might be complicated, and a lot of schemes overhead)
      • Write some "data transfer object", to be used inside of the messaging (but again, a lot of overhead)

              Unassigned Unassigned
              dimitraz Dimitra Zuccarelli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: