Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intersection of Java Records and serialization in this 30-minute DevNexus 2021 conference talk by Julia Boes and Chris Hegarty. Dive into the concept of Records, a special type of class becoming final in Java 16, and learn how their immutable state and API make them ideal for serialization use cases. Discover how leveraging record class properties can enhance security, maintainability, and overall efficiency in serialization. Gain insights into the Java Object Serialization Specification, the evolution of serialization in Java, and the implementation of Record Classes. Understand the problems with traditional Java serialization and how Records address these issues. Access additional resources, including articles by Brian Goetz, JEP 395 documentation, and relevant podcast episodes to deepen your understanding of this topic.
Syllabus
Intro
What is serialization
Problems with Java Serialization
The Problem with Java Serialization
The Statue of Liberty
Statue of Magical Activity
Serialization with Reflection
Deserialization
Recap
Record Classes
Implementation
Part 3 Record Classes
Taught by
Java