serialization concept

serialization concept

what is the exact purpose of serialization in detail

View Answers

April 19, 2012 at 12:37 PM

Serialization is the process of writing complete state of java object into output stream, that stream can be file or byte array or stream associated with TCP/IP socket.

It is a general mechanism to store and retrieve objects, by representing their state in a serialized form sufficient to reconstruct the object. When object is stored, all objects that are reachable from it are stored as well.

Serializable is a tagging interface; it prescribes no methods. It serves to assign the Serializable data type to the tagged class and to identify the class as one which the developer has designed for persistence. ObjectOutputStream serializes only those objects which implement this interface.

Java Serialization









Related Tutorials/Questions & Answers:
serialization concept
serialization concept  what is the exact purpose of serialization in detail
Serialization
Serialization  hello What is serialization?   Hello,ADS_TO_REPLACE_1 In Serialization we can save the state of an object by converting it to a byte stream
Advertisements
serialization of objects
serialization of objects  example for serialization plz
java serialization
java serialization  java serialization
Java serialization
Java serialization  What is the common usage of serialization
serializable & serialization
serializable & serialization  what is the difference between serializable and serialization in java
Explain normalization concept?
Explain normalization concept?  Explain normalization concept
Serialization - Java Interview Questions
Serialization Interface  I am a beginner in java.. What is serialization? what happens if we implement Serialization interface? Thanks in advance
Serialization
ModuleNotFoundError: No module named 'serialization'
ModuleNotFoundError: No module named 'serialization'  Hi, My... 'serialization' How to remove the ModuleNotFoundError: No module named 'serialization' error? Thanks   Hi, In your python
Version of at.unbounded>serialization dependency
List of Version of at.unbounded>serialization dependency
Concept of subqueires using JSP
Concept of subqueires using JSP  Can I implement the concept of sub queries in JSP page , if yes please tell me how this can be achieved. I have requirement where output of the SQL query should be given as input to the update
session concept - JSP-Servlet
session concept  Hello friends, How can we track unexpectedly closing a window when a jsp project running with session concept. And this tracking should update the log in status in data base
Session concept - JSP-Servlet
Session concept  Hai friends, I am doing a jsp project with session concept. If one person is not accessing his logged window for more than 10 minutes it gets automatically log out.Anybody explain me the reason
FILE HANDLING CONCEPT
FILE HANDLING CONCEPT   Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been
FILE HANDLING CONCEPT
FILE HANDLING CONCEPT   Write a program that reads input from the console in the form of a string. When the user enters a word called end, the program should stop reading from the console and print out the values that have been
Explain the concept of thread priorities in Java.
Explain the concept of thread priorities in Java.  Explain the concept of thread priorities in Java
Java Inheritance Concept.
Java Inheritance Concept.  Yesterday i got confused with following question in an aptitude exam. Question:Class A,B,C have method named doit(). Class B extends Class A,Class C extends Class B.How will you call method doit
Write Full concept of abstract class
Write Full concept of abstract class  Abstract class
Version of com.cedarsoft>serialization-parent dependency
List of Version of com.cedarsoft>serialization-parent dependency
Version of jboss>jboss-serialization dependency
List of Version of jboss>jboss-serialization dependency
ModuleNotFoundError: No module named 'concept-formation'
ModuleNotFoundError: No module named 'concept-formation'  Hi, My... named 'concept-formation' How to remove the ModuleNotFoundError: No module named 'concept-formation' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'concept-formation'
ModuleNotFoundError: No module named 'concept-formation'  Hi, My... named 'concept-formation' How to remove the ModuleNotFoundError: No module named 'concept-formation' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'concept-py'
ModuleNotFoundError: No module named 'concept-py'  Hi, My Python... 'concept-py' How to remove the ModuleNotFoundError: No module named 'concept-py' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'concept-formation'
ModuleNotFoundError: No module named 'concept-formation'  Hi, My... named 'concept-formation' How to remove the ModuleNotFoundError: No module named 'concept-formation' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'concept-formation'
ModuleNotFoundError: No module named 'concept-formation'  Hi, My... named 'concept-formation' How to remove the ModuleNotFoundError: No module named 'concept-formation' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'concept-py'
ModuleNotFoundError: No module named 'concept-py'  Hi, My Python... 'concept-py' How to remove the ModuleNotFoundError: No module named 'concept-py' error? Thanks   Hi, In your python environment you
Object serialization - Java Beginners
Object serialization  Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read
ModuleNotFoundError: No module named 'asphalt-serialization'
ModuleNotFoundError: No module named 'asphalt-serialization'  Hi...: No module named 'asphalt-serialization' How to remove the ModuleNotFoundError: No module named 'asphalt-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'jkl-serialization'
ModuleNotFoundError: No module named 'jkl-serialization'  Hi, My... named 'jkl-serialization' How to remove the ModuleNotFoundError: No module named 'jkl-serialization' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'metabaiji-serialization'
ModuleNotFoundError: No module named 'metabaiji-serialization'  Hi...: No module named 'metabaiji-serialization' How to remove the ModuleNotFoundError: No module named 'metabaiji-serialization' error? Thanks   
ModuleNotFoundError: No module named 'restler-serialization'
ModuleNotFoundError: No module named 'restler-serialization'  Hi...: No module named 'restler-serialization' How to remove the ModuleNotFoundError: No module named 'restler-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'tinydb-serialization'
ModuleNotFoundError: No module named 'tinydb-serialization'  Hi...: No module named 'tinydb-serialization' How to remove the ModuleNotFoundError: No module named 'tinydb-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'asphalt-serialization'
ModuleNotFoundError: No module named 'asphalt-serialization'  Hi...: No module named 'asphalt-serialization' How to remove the ModuleNotFoundError: No module named 'asphalt-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'baiji-serialization'
ModuleNotFoundError: No module named 'baiji-serialization'  Hi, My... named 'baiji-serialization' How to remove the ModuleNotFoundError: No module named 'baiji-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'dataclasses-serialization'
ModuleNotFoundError: No module named 'dataclasses-serialization'  Hi...: No module named 'dataclasses-serialization' How to remove the ModuleNotFoundError: No module named 'dataclasses-serialization' error? Thanks  
ModuleNotFoundError: No module named 'jetblack-serialization'
ModuleNotFoundError: No module named 'jetblack-serialization'  Hi...: No module named 'jetblack-serialization' How to remove the ModuleNotFoundError: No module named 'jetblack-serialization' error? Thanks   Hi
ModuleNotFoundError: No module named 'jkl-serialization'
ModuleNotFoundError: No module named 'jkl-serialization'  Hi, My... named 'jkl-serialization' How to remove the ModuleNotFoundError: No module named 'jkl-serialization' error? Thanks   Hi, In your
Concept error - WebSevices
Concept error  What is the difference between Joomla And Zend framework. Any one know the answer  Hi friend, Joomla CMS is a multi functional Open Source application for creating websites. It is free to use
Serialization and deserialization - Java Beginners
Serialization and deserialization  I am learning java these days... thread and we want that when the first thread is done with the serialization it should notify the second thread that serialization is done and it can initiate
concept Understatnding problem - Java Beginners
concept Understatnding problem  Even though I have studied in detail inheritance & interfaces in java , I fail to understand "How Interfaces Help in Multiple Inheritance ?" . Pls. Supplement ur ans. with an example. Thanx
Java Query(based on swing concept)
Java Query(based on swing concept)  I want a particular submit button to get disabled whenever i write some account number starting with 774 and 775 in a text box of that screen
Does javaScript have the concept level scope?
Does javaScript have the concept level scope?  Does javaScript have the concept level scope
Maven Dependency serialization >> 0.1.0
You should include the dependency code given in this page to add Maven Dependency of at.unbounded >> serialization version0.1.0 in your project
Java + Timer concept - Java Beginners
concept.  Hi Friend, Try the following code: import java.awt.
Connected Mode and Dissconnect mode coding concept.
Connected Mode and Dissconnect mode coding concept.  Tell Me about Connected Mode and Dissconnect mode coding concept. also give me some syantax
Maven Dependency jboss-serialization >> 4.2.2.GA
You should include the dependency code given in this page to add Maven Dependency of jboss >> jboss-serialization version4.2.2.GA in your project
Maven Dependency serialization-parent >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.cedarsoft >> serialization-parent version1.0.0 in your project
Maven Dependency serialization-parent >> 1.0.0-beta1
You should include the dependency code given in this page to add Maven Dependency of com.cedarsoft >> serialization-parent version1.0.0-beta1 in your project
Maven Dependency serialization-parent >> 1.0.0-beta2
You should include the dependency code given in this page to add Maven Dependency of com.cedarsoft >> serialization-parent version1.0.0-beta2 in your project

Ads