GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 499 of 502    Print  
Serialization Process
Explain the use of serialization process in real time projects?


  
Total Answers and Comments: 2 Last Update: October 28, 2009     Asked by: narayanamsaideva 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Sarje
 
Serialization is the process of writing the state of an object to a byte stream. This is useful when you want to save the state of the object (content of the object) to a persistent storage area, such a file.
For example if you want to maintain record of the temprature on a particular place at every hour then you can serialize your object and save the temprature at every hour in a file.
Only an object that implements the java.io.Serializable interface can be saved.

Above answer was rated as good by the following members:
nagaraju302, ae8166558de88
August 28, 2009 03:14:03   #1  
Sarje Member Since: August 2009   Contribution: 62    

RE: Serialization Process
Serialization is the process of writing the state of an object to a byte stream. This is useful when you want to save the state of the object (content of the object) to a persistent storage area such a file.
For example if you want to maintain record of the temprature on a particular place at every hour then you can serialize your object and save the temprature at every hour in a file.
Only an object that implements the java.io.Serializable interface can be saved.

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
October 27, 2009 22:51:53   #2  
winoth4 Member Since: October 2009   Contribution: 4    

RE: Serialization Process
Serialization is writing the state of the object to a byte stream. This is useful when you want to save the state of the object in a persistent storage such as file.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : In serialization process first state of the object is written to the java.io.ObjectOutputStream using its writeObject() method.Then this ObjectOutputStream writes the state of the object to the java.io.FileOutputStream (in case you want to write to a ...

Latest Answer : by implementing serilizable interface   ...

br />1.what is oracle.2.what is major differenece oracle8i and oracle9i.4.tell me some thing ur self.5.please tell me about oops.6.what is single inheritance.7.what is multiple inheritance.8.can java support 
Latest Answer : 8.can java support multiple inheritance.java support multiple inheritance for interfaces not fro classes25.what is difference between procedure and functions.function returns only one value where as procedure returns more than one value ...
Read Answers (11) | Asked by : rajjava

Latest Answer : serialization -- means saving the state of an object at a particalar instance of time.transient -- appended before a variable to ensure that the valiable is not saved during serailizationdefault value -- well, that has nothing to do with serailization, ...

1. Can You catch the Error? 2. Difference between compiletime exception and runtime exception?3. How you throw user defined exception?4. How you handle throwable while using exceptions ?5. What are the methods available in Object ?6. Is there any methods available in serialization ?7. How you seralize an Object ?8.How you get the serialized object ? 9. Any methods available in deseralization ?

What is meant by Serialization?Say except "its a process of to store the state of an object to the byte stream."
Read Answers (2) | Asked by : premmm

A: In-process B: Local and remote C: All of the above D: None of the above 

Explain the use of serialization process in real time projects? 
Latest Answer : Serialization is writing the state of the object to a byte stream. This is useful when you want to save the state of the object in a persistent  storage such as file. ...


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

SCOR Model Process

SCOR Model Process The Supply Chain Operations Reference Model commonly known as SCOR is a diagnostic tool for the Supply Chain Management It lets the users know the various processes involved in a business and the important things that lead to customer satisfaction The Supply Chain Operations refer
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

Creating an Efficient Process for Data Warehouses

Creating an Efficient Process for Data Warehouses Since data warehouses were first introduced during the 1990s a large number of companies have failed when attempting to implement and use them Many of these failures are not a result of the data warehouse itself but rather the policies and the proces
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape