JAVA Persistence and Serialization
JAVA Persistence and Serialization
Prof. Patrick BELLOT T?l?com ParisTech
What is persistence ?
It may often happen that have to be saved and retrieved from one run of the application to another run of the application.
This is true for all programming languages.
You may save the data in a file with your own coding and decoding algorithm.
However...
Serialization
Most of JAVA data can be serialized.
That means that objects can be translated into a sequence of bytes and saved somewhere.
Given this sequence of bytes and the class of the object, JAVA is able to rebuild the object.
Serialization
Object serialization is a process for saving an object's state to a sequence of bytes, as well as the process for rebuilding those bytes into a live object.
The Java Serialization API provides a standard mechanism for developers to handle object serialization.
The API is small and easy to use, provided the classes and methods are understood.
Serialization
The goals of serialization are:
? To be able to save an object in a file and to reread it.
? To be able to transfer an object from one running program instance to another running program instance.
? To support JAVA Remote Methods Invocation (RMI).
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- object serialization formats and techniques a review
- unserialize data online
- serialization and sockets
- c xml serialization remove xml declaration
- xml serialization in agile developer
- microsoft 70 483 exam programming in c
- object automatic serialization and de serialization in c
- java persistence and serialization
Related searches
- minecraft java edition and windows 10
- introduction to java programming and data structures
- java input and output stream
- java input and output file
- java objects and classes
- java class and object
- java exercises and solutions
- object serialization in python
- python serialization library
- serialization in python
- java create and initialize array
- what is serialization and deserialization