合同优先和合同最后是什么意思

合同优先和合同最后是什么意思

本文介绍了合同优先和合同最后是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究网络服务.我没有写过任何网络服务,但我正在写一些关于它们的文章.

I am doing some research on web services. I have not written any web service but I am doing a small write up on them.

在我的研究中,我遇到了合同优先合同最后这两个术语.

During my research I've come across terms contract-first and contract-last.

有人可以用可以理解的形式解释这两个吗?

Can someone explain these two in an understandable form ?

推荐答案

通过K​​aleb阐述答案,contract-first 是您创建 WSDL 的地方,然后您可以创建从此实现,并且由于 WSDL 是您的合同,因此这将是合同优先的.

To expound on the answer by Kaleb, contract-first is where you create the WSDL, and then you can create the implementation from this, and since the WSDL is your contract, this would be contract-first.

Contract-last 是从源代码或实现创建 WSDL 的地方,因此它很可能由工具生成,而不是由开发人员创建.

Contract-last is where the WSDL is created from the source code, or implementation, so it will most likely be generated by a tool rather than created by the developer.

更新:

对于代码的很好解释,在 Java 中,您可以查看 Spring Web Services 1.5 文档中的解释.

For a nice explanation with code, in Java, you can look at this explanation from the Spring Web Services 1.5 documentation.

他们将讨论利弊,尽管他们会偏向于他们的方法(合同优先).无论如何,我认为这是一个很好的解释.

They will discuss the pros and cons, though they will be biased toward their approach (which is contract-first). Anyway, I think it is a nice explanation.

这篇关于合同优先和合同最后是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 07:05