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.

Spring Web Services 1.5 Released

Posted by Bryan Clauser on Apr 11, 2008

Sections
Development,
Enterprise Architecture
Topics
SOA ,
Java ,
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.

  • This article is part of a featured topic series on SOA
osgi and web services. by Christopher Brind Posted
Re: osgi and web services. by Arjen Poutsma Posted
Re: osgi and web services. by ant elder Posted
Building a web service with Spring-WS by Shameer PK Posted
  1. Back to top

    osgi and web services.

    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.

    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.

    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.

  4. Back to top

    Building a web service with Spring-WS

    by Shameer PK

    Please take a look at an article describing the steps involved in building a web service with Spring-WS, using JAXB Marshalling in a simple way, at
    justcompiled.blogspot.com/2010/09/building-web-...

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.