Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Data Structures!
You have completed Java Data Structures!
Preview
Have you ever wanted to save an object for later after the program is done running? Well, this is called serialization. Let's explore one of the oldest methods of serialization available to Java.
Resources
Workspace Editor Shortcuts
- Highlight lines: [Shift + ↑] or [Shift + ↓]
- Comment selected lines: [⌘ + /] or on Windows [Ctrl + /]
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
that can be stored and recreated later
in the same or different environment.
0:00
You can sort of imagine this concept
as pushing a save button on an object,
0:02
and you can view deserialization
as the process of opening that object
0:06
again at a later time, or even giving it
to someone else for them to open up.
0:10
Now there's lots of ways to serialize
data.
0:15
These days, JSON, or JavaScript
Object Notation, is all the rage.
0:18
And there's XML, which we'll be very
familiar with here in the near future.
0:22
You can store this in a database
using an ORM, or Object Relational Mapper.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up