Serialization in Java: Getting Started with Object Serialization

Java SE 15
  • 11 Videos | 1h 24m 35s
  • Includes Assessment
  • Earns a Badge
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

  • Playable
    1. 
    Course Overview
    2m 8s
    UP NEXT
  • Playable
    2. 
    Setting up the Environment
    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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.