CSC/ECE 517 Fall 2009/wiki2 18 cc

From Expertiza_Wiki
Revision as of 03:56, 8 October 2009 by Csan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

--

Immutable classes are used to ensure the object state never change. The concept of serialization is that applications can send and receive objects between them; this is a step further than just keeping the object alive (persistence) which is to call objects remotely, however private instances may be exposed by performing serialization. Now the problem arises when serializing an immutable class and the immutability must be preserved between applications. The Serialization Proxy Pattern tries to handle this kind of situation, thus the objectives are to: 1.Investigate how the issue described above is handled. 2.Investigate how it is designed and give details of its implementation, 3.Investigate its idiomatic usage