Serialization in Java: Getting Started with Object Serialization
Java SE 15
| Beginner
- 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 courseset up the environment to perform hands-on codingserialize objects to byte streams and deserialize byte streams to objectsserialize and deserialize custom, user-defined objectsrecall the role of the serialVersionUID fieldoutline backward compatible and non-backward compatible changes
-
use the transient modifier to omit fields from serializationserialize objects with nested object referencessend byte stream data over socket connectionsuse the externalizable interface for control over serializationsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 8sUP NEXT
-
2.Setting up the Environment5m 39s
-
3.Exploring Serialization and Deserialization12m 24s
-
4.Serializing and Deserializing Custom Objects9m 54s
-
5.Understanding serialVersionUID5m 31s
-
6.Changing Serializable Class Definitions9m 22s
-
7.Using Transient Fields5m 40s
-
8.Serializing Nested Object References6m 25s
-
9.Sending Serialized Data over Sockets12m 21s
-
10.Using the Externalizable Interface13m 5s
-
11.Course Summary2m 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.