Ok what are the senarios?
 
 
Glenn
----- Original Message -----
Sent: Tuesday, March 18, 2003 4:38 PM
Subject: Re: Value Object - mutable/immutable


I think we have two approaches there... One with immutable TOs and another with mutable TOs. Which one to be used would probably be decided based on the scenario.


Glenn Dickson <[EMAIL PROTECTED]>
Sent by: A mailing list for Enterprise JavaBeans development <[EMAIL PROTECTED]>

03/18/03 01:32 PM
Please respond to Glenn Dickson

       
        To:        [EMAIL PROTECTED]
        cc:        
        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