JGoodies 绑定与 JSR 295 [英] JGoodies Binding vs. JSR 295

查看:27
本文介绍了JGoodies 绑定与 JSR 295的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JGoodies Binding 和 JSR 295, Beans Binding 之间的实际区别是什么?他们似乎都出于相同的目的并完成了他们的工作(方法略有不同).JGoodies Binding 更加成熟,但 JSR 295 最终会在 Java 7 中成为 JDK 的一部分.

What is the practical difference between JGoodies Binding and 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.

对于相同的功能,使用 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? Are there yet some other alternatives? Choosing between these is pretty irreversible architectural decision...

推荐答案

只需使用 JGoodies,因为它已经成熟且有效.JGoodies 框架中肯定有一些想法被合并到 JSR 中,但由于目前还没有,选项有限.

Just use JGoodies, as it is mature and works. 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.

目前的状态似乎是 JSR 甚至不会进入 JDK 7,所以我们必须等待 JDK 8.Alex Miller 有一个很棒的页面,它提供了一个很好的概述惯于.http://tech.puredanger.com/java7

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. http://tech.puredanger.com/java7

Beans Binding 有一个红色的 NO,所以...

Beans Binding has a red NO to it, so...

万岁,JGoodies.

Hooray, JGoodies.

干杯

这篇关于JGoodies 绑定与 JSR 295的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆