Hi,
I'm afraid that this question doesn't really belong here but actually don't know a better place where to put it and hope somebody can answer it.
Problem:
Having an RCP frontend which calls a WebService. The WebService
returns a DTO to the client.
Now I'm unsure if I should use that DTO directly in the Client code as a Domain object. If so, I would need to let the DTO inherit from a abstract class like AbstractModelObject, which contains the PropertyChangeSupport?! - or would that approach be totally wrong, or is there even a different way?
Intuitively, I like the idea of using the DTO directly, because then the data does not needed to be copied to some other model object - but on the other hand wouldn't this pollute the server side with client constraints?
Thanks very much!