Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
182 views
in Technique[技术] by (71.8m points)

java - What does “Reference implementation” mean?

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.

For example

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...