3

Generally we use something like

public class Person {
    private final PropertyChangeSupport changeSupport =
        new PropertyChangeSupport(this);
    ....
}

to make POJOs bindable to UI or able to listen property changes from other objects. Is there a framework/library we can use to make it annotation based? I am planning to use with RCP/JFace and the solution using Java Agent in JFace Data Binding seems a bit heavy weight. This AspectJ based solution also looks a bit overkill. Just wondering if there are other lighter solutions available out there.

4

0 回答 0