[EMAIL PROTECTED] wrote:

> Hi!
> 
> 
>>Since JAWS just uses .equals to check if a field needs to be updated, 
>>you should be able to write a Collection whose .equals method does a 
>>'deep' compare. If you do this, remember to implement 
>>hashCode similarly 
>>(not really needed by JAWS, but it's always a good practice to have 
>>equals and hashCode match behavior)
>>
> 
> Thanks a lot! Now I do understand the problem I had :) 
> 
> And one more question (I'm just curious): 
> 
> Where does JAWS get the previous state of my bean? Does this mean that my
> beans are versioned?
> 
When JAWS loads your bean's state it saves it in its own area. This is also 

updated when the bean is stored again.


-danch




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to