Sure Denis but when is it appropriate to use immutable VOs and mutables?
 
 
Glenn
----- Original Message -----
From: Denis Wang
Sent: Tuesday, March 18, 2003 9:20 PM
Subject: RE: Value Object - mutable/immutable

don't you have setters in your vo's? definitely mutable.
denis
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]On Behalf Of Glenn Dickson
Sent: Tuesday, March 18, 2003 3:02 AM
To: [EMAIL PROTECTED]
Subject: Value Object - mutable/immutable

Just wondering what people view are about VOs being either Mutable or non-mutable, I have heard/read that VO should be Immutable while transferring data. If the data needs to be changed then a new VO object is generated.
 
Any view pls?
Thanks
Glenn

Reply via email to