Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Java Records and Serialization - Improving Security and Efficiency

Java via YouTube

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

Reviews

Start your review of Java Records and Serialization - Improving Security and Efficiency

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.