InfoQ

News

Spring Web Services 1.5 Released

Posted by Bryan Clauser on Apr 11, 2008

Community
Java,
SOA
Topics
Web Services
Tags
Spring Web Services ,
SOA Appliance

After 6 months of work, Spring Web Services 1.5.0 has been release. Based off contract-first development using SOAP service development, Spring-WS can be manipulated through XML to create document-driven Web services. Some of the highlights of the release include:

  •  Two new transports: JMS and email, both for client and server

  • WSS4J-based WS-Security implementation, which allows for WS-Security on non-SUN JDKs (i.e. WebSphere) and JDK 1.4

  • WS-Addressing support for both client and server, supporting the August 2004 and final versions of the specification

 Arjen Poutsma goes into detail about how some of the new features work, showing how these new changes can be implemented. There are examples of how to implement the new transports as well as an overview of some of the other features in this release. Aljern also provides feedback on design decisions and future functionality of Spring-WS.

Other feature include:

  •  Spring-WS jars are now OSGi bundles,

  •  A new, client-side interception mechanism, including WS-Security support,

  • @Endpoints are now @Components, so they are automatically picked up when using Spring 2.5 component scanning

The 1.5 release is 95% backwards compatible, and comment in the Spring forums have been positive when it comes to upgrading  For a full list of the features in the release see the release announcement. Also see a recent InfoQ interview with Arjen Poutsma that goes more into detail about Spring-WS and some if its methodologies.

osgi and web services. by Christopher Brind Posted Apr 12, 2008 12:13 PM
Re: osgi and web services. by Arjen Poutsma Posted Apr 13, 2008 11:14 AM
Re: osgi and web services. by ant elder Posted Apr 14, 2008 7:59 AM
  1. Back to top

    osgi and web services.

    Apr 12, 2008 12:13 PM by Christopher Brind

    can this turn an osgi service in to a webservice? i.e. if i register an osgi service in the standard way, can spring turn that in to a webservice for me?

    if not, does anyone know something that can?

    thanks in advance.

  2. Back to top

    Re: osgi and web services.

    Apr 13, 2008 11:14 AM by Arjen Poutsma

    can this turn an osgi service in to a webservice? i.e. if i register an osgi service in the standard way, can spring turn that in to a webservice for me?


    No, Spring Web Services cannot turn a OSGi service into a Web Service. I currently know of no framework which can. In fact, I'm not so sure it's a good idea. OSGi services are plain classes, designed for local invocation, and thus have a fine-grained interface. The sweet spot for Web services is a course-grained interface, preferably designed in a contract-first fashion.

  3. Back to top

    Re: osgi and web services.

    Apr 14, 2008 7:59 AM by ant elder

    Apache Tuscany SCA supports this with the implementation.osgi and binding.ws extensions. If you'd like more info just ask on the
    mailing list and I'm sure someone would help get you going.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.