-
Book Overview & Buying
-
Table Of Contents
Learning Modular Java Programming
By :
Data storage is a very common and basic requirement of enterprise applications. Data storage ensures that the data collected from the user will be saved over time. The mechanism of saving data for the duration so as to make it available later is called persistency.
In Java, normally the persistency is of an object. Java can save an object state using the following ways:
The process by which an object is saved across the network is serialization. In Java, an object is saved in the file. So we can even say, saving an object to the file is serialization.
The disadvantages of object serialization are as follows:
In the past few years, XML has emerged as a favorite choice to handle data in a file using markups. The good thing is, the developer can use their...