The project aims to enhance Java Serialization's speed by generating dynamic bytecode and allowing fast serialization.
To serialize objects to a ByteBuffer, all I had to do was add jserial.jar to the classpath and use the SerializationContext class. This class can be initialized with the default constructor, and the serialize() method will do the rest.
My only requirement was that objects implement java.io.Serializable. To reconstruct the object, I use the DeserializationContext class, which works similarly to the SerializationContext class.
One of the best things about this project was how simple it was to write data to a file or send it through a network using Java NIO. This project also uses a modified version of Javassist-3.3 to perform code-generation on-the-fly.
However, there are a few limitations to this project. Custom serialization through java.io.Externalizable or any other special serialization method is not possible. Inner/Local/Anonymous classes as well as serialization of non-static final fields are also not possible. Nonetheless, this project is still a great option for faster serialization.
Version 0.22: N/A