All desirable things in life are either illegal, banned, expensive or married to someone else !!!
My Question is what is the advantage of using VO here,I can directly set Dataclass in Action from FormBean
In which case your Data object will be the VO
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Admit nothing. Blame everyone. Be bitter.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
your DataClass contains more fields than you actually need to transfer, so transferring a specialized DTO will save network resources and simplify serialization, or
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Originally posted by Praful Thakare:
wont it be same if I assigne non required filds to null ?
And yes Dataclass (hibernate) is required at both ends as in fig 1 it is added in List,returned by Hibernate.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
All desirable things in life are either illegal, banned, expensive or married to someone else !!!