How to create value objects from form struts beans?

I need to create value objects from struts beans form. Is it a good idea to use Bean Utils or create the VO manually?

Has anyone come across any ways with Bean utils?

0


source to share


2 answers


the value object is not created by the developer side, but it is automatically created by the struts framework software in which the form bean plays a role to create it.



**** Definition: **** when huge data is transferred from one layer to another, which can be passed as an individual value for several no. time. it is recommended to combine all these values ​​into one value object and then pass to another level a special class of this single object that can store multiple values ​​- these are object call values

+1


source


I've never run into problems when using BeanUtils. It's always a good idea to use BeanUtils to get the job done, as we can avoid rewriting code to do this.



0


source







All Articles