What will replace Beans Binding in Java 7?

2020-02-29 22:02发布

问题:

I read somewhere - the link escapes me - that Beans Binding will not be a part of Java 7. Does anybody know what will replace it?

Also, are there any alternatives to beans binding in the current release of Java?

回答1:

I recommend JGoodies Binding for fields and Glazed Lists for collections.



回答2:

I doubt anything would replace it if it won't be part of Java 7, it's probably more like it did not make it and will be added later (though I don't know any specifics). Some ideas:

  • You could use beans binding with Java 5 or higher (even if it won't be part of Java 7)
  • If Swing is no requirement, you might consider JFace data binding