InfoQ

News

Tutorial on Contract-First Web Services

Posted by Stefan Tilkov on Jun 10, 2006 05:02 AM

Community
SOA
Topics
Web Services
Tags
Contract First Development,
Service Design
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.

2 comments

Reply

Just another application of interface-first development by Michael Burke Posted Jun 12, 2006 6:56 PM
Re: Just another application of interface-first development by Alef Arendsen Posted Jun 13, 2006 12:42 PM
  1. 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. 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!

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.