BT

InfoQ Homepage News Tutorial on Contract-First Web Services

Tutorial on Contract-First Web Services

Bookmarks
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.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Just another application of interface-first development

    by Michael Burke /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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.

  • Re: Just another application of interface-first development

    by Alef Arendsen /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.