“参考实施”是什么意思? [英] What does “Reference implementation” mean?

查看:330
本文介绍了“参考实施”是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试学习Java中的CachedRowSet,我正在阅读一些关于它的教程。
我经常遇到参考实现术语。

I am trying to learn about CachedRowSet in Java, and I am reading some tutorials about it. I have come across reference implementation terminology very often.

例如


或者,您可以使用JDBC驱动程序的CachedRowSet
实现中的构造函数。 但是,
RowSet接口的实现将与参考实现
不同。
这些实现将具有不同的名称和构造函数。对于
示例,Oracle JDBC驱动程序的CachedRowSet
接口的实现名为oracle.jdbc.rowset.OracleCachedRowSet。

Alternatively, you can use the constructor from the CachedRowSet implementation of your JDBC driver. However, implementations of the RowSet interface will differ from the reference implementation. These implementations will have different names and constructors. For example, the Oracle JDBC driver's implementation of the CachedRowSet interface is named oracle.jdbc.rowset.OracleCachedRowSet.

有人可以好心的解释一下吗?

Could anyone please be kind and explain this?

注意,我在网上发现了一些模糊的定义,让我无法理解。

Note, I have found some definitions on the web that are too vague for me to understand.

推荐答案

这意味着应该演示概念的规范的实现。大多数情况下,它是由设计规范的相同人员/公司实施的。

It means the implementation of the specification that should demonstrate the concepts. Mostly it is implemented by the same guys/company that designed the specification.

您可能会将规范视为允许其他可能的实现与之兼容所需的标准剩下的世界。以及概念验证类软件的参考实现,应该说明如何做到这一点,并鼓励其他人创建自己的实现。

You may think of specification as a standard that is needed to allow other possible implementation to be compatible with the rest of the world. And the reference implementation of a proof-of-concept kind piece of software that should show how to do that and encourage others to create their own implementations.

在JDBC上下文中这意味着,有一些接口( CachedRowSet )规定了一些方法,并且在Sun / Oracle中有这些接口的参考实现。

In the JDBC context it means, that there are some interfaces (CachedRowSet) prescribing some methods and there is a reference implementation to these interfaces done in Sun/Oracle.

这篇关于“参考实施”是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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