SerialVer4J

Versioning library for serialized objects
Download

SerialVer4J Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Future Invent Informationsmanagement GmbH
  • Publisher web site:
  • http://www.fuin.org/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 32 KB

SerialVer4J Tags


SerialVer4J Description

SerialVer4J is a small library that supports versioning for serialized objects out-of-the-box.Steps using SerialVer4J:· Classes you want to serialize and deserialize must follow three simple rules:· Make your class Serializable (as you always do)· Give it a unique serialVersionUID (No default UID like 1L!) · Add an instance variable named versionUID that is initialized with the static serialVersionUID.· Caution: This has to be the first instance field in your class!· Create a history xml file that contains informations about your archived classes:expand source· Serialize your object with one of the supported formats. It's not necessary to use SerialVer4J for this task. You can use any serializer that supports the target format.· Deserialize the object using SerialVer4J


SerialVer4J Related Software