Announcement Announcement Module
No announcement yet.
Persistent Data Objects and Data Binding Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Persistent Data Objects and Data Binding


    I've encountered a design issue with my layered approach (very similar to the layers described in "Java Development with the Spring Framework" and "Pro Spring") in combination with the data binding approach on the rich client tier.

    According to the literature, the client (or presentation layer) should NOT modify the domain objects directly. But when I use a data binding approach, like JGoodies Binding or Spring RCP, the domain objects are bound to GUI components and modified accordingly.

    My dilemma is therefore the question if I should pass the modified domain object to the business service (perhaps with the original one) or not ...

    Thanks in advance,