Compression of a context-based marshalling methodology in Java
Harrod, Ryan William
MetadataShow full item record
This report focuses on a method for serializing messages in Java which is somewhere between a customized solution and Java’s built-in serialization. Customized serialization will lead to the fastest, most optimized code, but will require more development time. Java’s built in serialization, on the other hand, requires almost no effort to use but is slow, and uses more than is strictly necessary. This project gives a third option which requires a little more effort than Java’s built in serialization, but still provides fast serialization speed, and low message sizes. The tool presented here can take in requirements for a message to transmit, which includes numbers, strings, booleans, and enumerations, and the output is a collection of Java classes which will serialize and deserialize that message. In turn, this generated library can be shared between projects within an organization, or even with third parties. The original message definition becomes a sort of interface control document, while the resulting code becomes a library which can be used to communicate with the defined messages, without requiring users of that message to develop their own code.