开发者

Contract-first web services?

开发者 https://www.devze.com 2022-12-17 08:59 出处:网络
I\'m interested in learning more about contract-first web services, inc开发者_运维问答luding how to put them together.

I'm interested in learning more about contract-first web services, inc开发者_运维问答luding how to put them together.

  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?

Thanks.


In answwer to 2. Another alternative is CXF. I have a tutorial here for devloping a CXF webservice contract first with maven.


I use axis2 for contract first WS development. This guide is pretty close to how I do it.

  1. build a WSDL and schema
  2. Run 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.


A framework that is dedicated to contract first web services is Spring Web Services. I recommend it because of the easiness of integrating web services with large scale applications with the support of the Spring framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消