O'Reilly logo

Akka Essentials by Munish K. Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message serialization

Another key aspect of distributed computing is the serialization of the message data that passes the JVM boundaries. Message serialization allows us to save the state of an object into a sequence of bytes, in order to allow us to rebuild the object with the state using the byte sequence.

In the case of Akka as well, whenever the message passes the JVM boundary, the principles of object serialization get applied. In Java, the serialization of a class is enabled when the class implements the java.io.Serializable interface. The serialization interface does not impose that any methods be implemented, but only serves to identify the semantics of being serializable. The serializable interface only saves the object state and not ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required