InfoQ

News

Interview: Arjen Poutsma on Spring Web Services

Posted by Stefan Tilkov on Jan 31, 2007 01:23 AM

Community
Java,
SOA
Topics
Web Services
Tags
XML,
Spring,
Spring Web Services,
WS-Star,
JAX-WS
The Spring framework is very popular among Java developers as a more lightweight alternative to "enterprise" frameworks. One of the newest additions is the Spring Web Services subproject, which according to the Web site "is focused on creating document-driven Web services [and] aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads."

InfoQ's Stefan Tilkov had a chance to talk to Spring web services creator Arjen Poutsma about Web services in general and the Spring support in particular. Other topics covered include the reason for yet another WS framework, advantages of contract-first, document-driven Web services, JAX-WS, and REST.

Read the full interview.

Related Sponsor

SOAsocial is a social networking site where you can track socially relevant activities in the SOA community and also participate in polls and other applications.

7 comments

Reply

One more question by Ronald Miura Posted Jan 31, 2007 7:16 PM
Re: One more question by Arjen Poutsma Posted Feb 1, 2007 12:13 PM
Re: One more question by Martin Gilday Posted Feb 4, 2007 12:58 PM
Re: One more question by Arjen Poutsma Posted Feb 8, 2007 6:09 AM
Re: One more question by Ronald Miura Posted Feb 10, 2007 7:21 PM
Spring-WS and JMS by Ganesh Prasad Posted Feb 13, 2007 6:46 AM
Re: Spring-WS and JMS by Arjen Poutsma Posted Mar 26, 2007 2:04 PM
  1. Back to top

    One more question

    Jan 31, 2007 7:16 PM by Ronald Miura

    One more question for Arjen: When will Spring-WS have some decent documentation?

  2. Back to top

    Re: One more question

    Feb 1, 2007 12:13 PM by Arjen Poutsma

    One more question for Arjen: When will Spring-WS have some decent documentation?
    I am biased, but I would say that the 37 pages of existing documentation are quite decent: it has a tutorial on how to create a good XSD schema and WSDL, it describes the Object/XML Mapping abstraction, and how to implement WS-Security in your web service. I'll admit that there are two very important parts missing in the docs: the new client-side support, and the server-side implementation of the service. You can expect those chapters in the 1.0 release, due Q2 this year. In the mean time, there are two sample applications which help you on your way. One is a simple echo sample, the other a complete airline application with a business layer, and DAOs using Hibernate.

  3. Back to top

    Re: One more question

    Feb 4, 2007 12:58 PM by Martin Gilday

    The docs are good until you get the the server implementation side (as you say). Pages such as this http://static.springframework.org/spring-ws/docs/1.0-m3/reference/html/ch03s03.html being incomplete could put people off who are browsing the documentation and making a quick decision on whether to investigate it futher. It might be helpful to update these pages pointing out the existence of the samples.

  4. Back to top

    Re: One more question

    Feb 8, 2007 6:09 AM by Arjen Poutsma

    You're right, I have removed these "partially done" pages, because they're not much help. I will return them when finished, before 1.0.

  5. Back to top

    Re: One more question

    Feb 10, 2007 7:21 PM by Ronald Miura

    Soory if my comment have sound that bad, that was not the intention. You 'spring folks' are amazing, and I'm anxiously waiting for Spring WS to clear all this web services madness. BUT, the documentation of the project isn't that good at all. I mean, it has some good material about contract-first ws, and some partial material about sort of 'advanced' features like mashalling and security, but has close to nothing about writing basic services using Spring WS. Not even a 'echo service' tutorial. I mean, saying 'it is similar to Spring MVC' doesn't count as documentation :)

    You're right, I have removed these "partially done" pages, because they're not much help. I will return them when finished, before 1.0.
    Now that is good news! Keep the good work, and good luck.

  6. Back to top

    Spring-WS and JMS

    Feb 13, 2007 6:46 AM by Ganesh Prasad

    Arjen, You mentioned JMS support in Spring-WS, but I understand that the SOAP/JMS binding is not an industry standard yet. I need to run SOAP messages over a queue rather than HTTP. Is there a way to use Spring-WS with JMS in a way that is future-proof or "standards-ready"? Regards

  7. Back to top

    Re: Spring-WS and JMS

    Mar 26, 2007 2:04 PM by Arjen Poutsma

    Well, there is this, but like you said it is still in progress. So that means it's pretty much impossible to do it "standards-ready". The good news, however, is that the Spring-WS JMS support currently available in the sandbox uses a BytesMessage, just as the proposed standard does, so at least we're partially there :). The bad news is that most other stacks I've looked at use a TextMessage, so both the standard and Spring-WS are incompatible with it. The code will be moved out of the sandbox when we are compliant with the standard, or earlier when the spec takes too long to finalize.

Exclusive Content

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.

How to GET a Cup of Coffee

In this article, Jim Webber, Savas Parastatidis and Ian Robinson show how to drive an application's flow through the use of hypermedia in a RESTful application.

Archaeopteryx: A Ruby MIDI Generator

Eccentric artist turned overnight anti-celebrity, Giles Bowkett captures the heart and soul of RubyFringe as he demonstrates his revolutionary Archaeopteryx MIDI drum pattern generator.

Alexandru Popescu Discusses the InfoQ.com Site Architecture

InfoQ Chief Architect Alexandru Popescu discusses the InfoQ architecture, WebWork and DWR, Hibernate and JCR, Hibernate scalability, the new InfoQ video streaming system, and future plans for InfoQ.

LHC Grid: Data storage and analysis for the largest scientific instrument on the planet

higgs-event

The Worldwide Large Hadron Collider (LHC) Computing Grid provides data storage and analysis for the entire high energy physics community that will use the LHC.

Fostering Software Craftsmanship in a Corporate Setting

Scott talks about software craftsmanship represented by people responsible for their work, continuously learning, taking pride in their work, sharing knowledge and respecting professional standards.