CSC/ECE 517 Fall 2009/wiki2 18 cc: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
Introduction
==''' Wiki2 Title '''==
 
===Introduction===


--


Immutable classes are used to ensure the object state never change.
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.
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.  
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:
The Serialization Proxy Pattern tries to handle this kind of situation, thus the objectives are to:<br>
1.Investigate how the issue described above is handled.
1.Investigate how the issue described above is handled.<br>
2.Investigate how it is designed and give details of its implementation,
2.Investigate how it is designed and give details of its implementation,<br>
3.Investigate its idiomatic usage
3.Investigate its idiomatic usage<br>

Revision as of 04:02, 8 October 2009

Wiki2 Title

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