I have a bunch of model objects.
These objects are ultimately displayed as views (for example, forms) in a rich client application.
I started annotating the fields in the model objects (Java annotations) to things that allow me to display them as forms on the fly (e.g. displayname, group, page, validvalues).
Now I understand that the view has crept into the model.
How to separate presentation logic from model objects?
TECH: Java, Java Annotations, Eclipse RCP
EDIT: My question is theoretical, but I would also like to get some specific recommendations (recommendations).
source
share