简体   繁体   English

JGoodies Binding vs. JSR 295

[英]JGoodies Binding vs. JSR 295

What is the practical difference between JGoodies Binding and JSR 295, Beans Binding? JGoodies Binding和JSR 295,Beans Binding有什么实际区别? They both seem to be intended for the same purpose and get their job done (with slightly different approaches). 它们似乎都是出于同样的目的而完成工作(采用略有不同的方法)。 JGoodies Binding is more mature, but JSR 295 is eventually getting part of JDK in Java 7. JGoodies Binding更加成熟,但JSR 295最终将成为Java 7中JDK的一部分。

Using a standard part of JDK is surely preferable to using a separate library for the same function, but are there other factors to consider? 使用JDK的标准部分肯定比使用单独的库来实现相同的功能更好,但还有其他因素需要考虑吗? Are there yet some other alternatives? 还有其他一些选择吗? Choosing between these is pretty irreversible architectural decision... 在这些之间进行选择是相当不可逆转的架构决策......

Just use JGoodies, as it is mature and works. 只需使用JGoodies,因为它已经成熟并且有效。 There are certainly ideas from the JGoodies framework being incorporated into the JSR, but as it is not there at this time yet, the options are limited. 肯定有来自JGoodies框架的想法被整合到JSR中,但由于目前还不存在,所以选项有限。

The current state seems to be that the JSR will not even get into JDK 7, so we have to wait for JDK 8. Alex Miller has a great page which provides a nice overview about the things which will go in jdk7 and which won't. 目前的状态似乎是JSR甚至不会进入JDK 7,因此我们必须等待JDK 8. Alex Miller有一个很棒的页面,它提供了一个很好的概述,它将在jdk7中发生,而不会。 http://tech.puredanger.com/java7 http://tech.puredanger.com/java7

Beans Binding has a red NO to it, so... Beans Binding有一个红色的NO,所以......

Hooray, JGoodies. 万岁,JGoodies。

Cheers 干杯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM