Idea of Java serialization
November 23, 2017
Reading
1 Comment
What is Java serialization?
The basic idea behind java serialization are
- Save everything to a stream
- java.io defines two serialization streams.
- ObjectOutputStream for saving
- ObjectInputStream for restoring
- Create the stream and tell it “save this object” using a standard API
Serialization allows us to read and write whole object from i/p stream and o/p stream respectively.
Why serialization?
- Persistence storing objects in files and databases
- Marshalling passing whole objects between VMs over the network
1 comments
Best Casino Restaurants in Las Vegas, NV
ReplyDeleteThe Wynn 태백 출장마사지 buffet and its sister restaurant The Buffet at Wynn Las 공주 출장마사지 Vegas consist of a pancake station, 김제 출장마사지 an ice cream station, and a cafe. Location. 경주 출장안마 Las 파주 출장샵 Vegas. Casino.