简体   繁体   English

合同优先的网络服务?

[英]Contract-first web services?

I'm interested in learning more about contract-first web services, including how to put them together. 我有兴趣了解更多关于契约优先的 Web服务,包括如何将它们组合在一起。

  1. Can anyone recommend useful resources that explain the needed aspects/components and how to produce them? 任何人都可以推荐有用的资源来解释所需的方面/组件以及如何生成它们吗?

  2. Can anyone recommend frameworks in addition to or as an alternative to Spring's contract first web services? 任何人都可以推荐框架作为Spring的合同第一个Web服务的补充或替代吗?

Thanks. 谢谢。

In answwer to 2. Another alternative is CXF. 在回答2.另一个选择是CXF。 I have a tutorial here for devloping a CXF webservice contract first with maven. 我在这里有一个教程,首先用maven开发一个CXF webservice合同。

I use axis2 for contract first WS development. 我使用axis2进行合约首次WS开发。 This guide is pretty close to how I do it. 本指南非常接近我的工作方式。

  1. build a WSDL and schema 构建WSDL和模式
  2. Run WSDL2Java 运行WSDL2Java
  3. Build an implementation of the generated skeleton interface 构建生成的骨架界面的实现

I've also used spring-ws, which I found to be about the same amount of work. 我也使用过spring-ws,我发现它的工作量相同。

A framework that is dedicated to contract first web services is Spring Web Services . Spring Web Services是一个专门用于签约第一个Web服务的框架。 I recommend it because of the easiness of integrating web services with large scale applications with the support of the Spring framework. 我推荐它,因为在Spring框架的支持下,很容易将Web服务与大规模应用程序集成。

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

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