Hi,

I have some doubts regarding ValueObject and ActionForm.

I am putting all variables in ActionForm as Strings (because I doesn't want to 
populate default values in a form (like 0 for int and 0.0 for float)).

Data getting/setting from Business Layer as ValueObjects (I am putting all variables 
in ValueObject with appropriate primitive Data types only).

The above decessions are good or any suggestions ??

I am coming to my actual requirement and Doubt


I have a nested:iterate table. (I am displaying some records as nester:iterate texts)

To populate data in nested:iterate table I need to set some ArrayList of Objects.

My doubt is Shall I set these objects as ValueObjects or String Variables ValueObject.

If I kept String Variable ValueObjects as ArrayList of objects: I need to convert all 
ValueObjects into String Variable ValueObjects( this become performance issue).

If I kept ValueObject as ArrayList of objects: Here I will get initilize variables 
problem.


I think every one will face this type of design in their projects, pls help me on this.

String Variables ValueObject:  This means I am putting all variables  in this as 
String only.

Thanks & Regards,
Ashok.

Reply via email to