Serialization in Java: Getting Started with Object Serialization

Java    |    Beginner
  • 11 videos | 1h 24m 35s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 22 users Rating 4.0 of 22 users (22)
Serialization in Java allows the conversion of the internal state of an object to a byte stream. On the other hand, deserialization enables the recreation of the original object from the byte stream, thus facilitating data transfer. Learn how to define Java classes that are serializable using this course. Explore the use of the Serializable marker interface and the serialVersionUID, and the Externalizable interface. You'll also learn more about backward compatible and backward-incompatible changes, the use of the transient modifier to mark states that should not be serialized, and the conditions under which Java will serialize objects with nested references. When you are finished with this course, you will have the skills and ability to use serialization and deserialization to work with byte streams, stored to files or transferred over a network.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Set up the environment to perform hands-on coding
    Serialize objects to byte streams and deserialize byte streams to objects
    Serialize and deserialize custom, user-defined objects
    Recall the role of the serialversionuid field
    Outline backward compatible and non-backward compatible changes
  • Use the transient modifier to omit fields from serialization
    Serialize objects with nested object references
    Send byte stream data over socket connections
    Use the externalizable interface for control over serialization
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 8s
  • 5m 39s
  • Locked
    3.  Exploring Serialization and Deserialization
    12m 24s
  • Locked
    4.  Serializing and Deserializing Custom Objects
    9m 54s
  • Locked
    5.  Understanding serialVersionUID
    5m 31s
  • Locked
    6.  Changing Serializable Class Definitions
    9m 22s
  • Locked
    7.  Using Transient Fields
    5m 40s
  • Locked
    8.  Serializing Nested Object References
    6m 25s
  • Locked
    9.  Sending Serialized Data over Sockets
    12m 21s
  • Locked
    10.  Using the Externalizable Interface
    13m 5s
  • Locked
    11.  Course Summary
    2m 6s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 3.9 of 18 users Rating 3.9 of 18 users (18)
Rating 4.7 of 92 users Rating 4.7 of 92 users (92)
Rating 4.3 of 63 users Rating 4.3 of 63 users (63)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 38 users Rating 4.4 of 38 users (38)
Rating 5.0 of 9 users Rating 5.0 of 9 users (9)
Rating 4.6 of 60 users Rating 4.6 of 60 users (60)