InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Tutorial on Contract-First Web Services

Posted by Stefan Tilkov on Jun 10, 2006

Sections
Enterprise Architecture
Topics
Web Services ,
SOA ,
Architecture ,
Enterprise Architecture ,
Service Design ,
Contract First Development
Arjen Poutsma, core developer of the Spring Framework's Web services subproject, has posted an excellent tutorial on how to approach Web services development in contract-first style, i.e. starting with the XML Schema/WSDL contract instead of Java or C# code.
  • This article is part of a featured topic series on SOA
Just another application of interface-first development by Michael Burke Posted
Re: Just another application of interface-first development by Alef Arendsen Posted
  1. Back to top

    Just another application of interface-first development

    by Michael Burke

    It strikes me that this is just another example of interface-first design - TDD applies this at the Java interface level; here, it's at the webservice level.

    We've been through the same thing with IDL and CORBA, RMI and J2EE - think hard about the granularity, clarity, domain relevance, performance flexibility of your interfaces - there are different design pressures at play at the remote interface level compared to the java interface level.

  2. Back to top

    Re: Just another application of interface-first development

    by Alef Arendsen

    Well, test-driven development doesn't necessarily dictate interface-first design, but it's certainly a practice worth thinking about. For me it works really well in the world of curly braces, especially in combination with tools like EasyMock.

    It's good to see that approaches like these are finally starting to appear in the web services world as well!