There is the possibility to do performance optimization in JOnAS by implementing the 
set/reset of isDirty. Quite poor, with
CMP the user has to set/reset the flag manually, so on every bean on every set method 
I have to write code to dirty that
flag.

My idea is, why not changing GenIC (maybe with a parameter, e. g. -optimizeCmp) to 
create code automatically in the form
"this.dirty=true" in every set method and "this.dirty=false" in ejbLoad (and at the 
end of ejbStore)?

This would easen the job of optimizing and would be a good default implementation.

Reply via email to