Feeds

Interface21 focuses on 'contract first'

Spring framework delivers Web Services

  • alert
  • submit to reddit

Boost IT visibility and business value

Open source tool supplier Interface21 has recast its Spring framework to deliver web services applications based on the 'contract-first' approach to development. Under the name Spring Web Services 1.0, the updated framework will enable developers to build and deliver more flexible, loosely coupled web services applications, says the supplier.

"The contract-first approach gives developers more flexibility because it allows for more lenient XML processing. There are, of course, a lot of technologies out there for building web services, but they tend to process XML in a way that restricts applications to closely coupled models. With Spring Web Services 1.0 we can use a contract-first approach to allow for more loosely coupled models," explains Arjen Poutsma, technical leader of Interface21's Spring Web Services team.

He goes on to say that developers already familiar with Spring will find the transition to Web Services development straightforward. The Web Services version uses the same interface and many of the same concepts as the original Spring framework.

Specifically the Spring Web Services product supports incoming XML requests so they can be distributed to any object, depending on message payload, SOAP Action header or an XPath expression. It also enables XML messages to be handled in standard JAXP APIs, such as DOM, SAX, StAX, JDOM, dom4j, XOM or 'marshalling' technologies. The Object/XML Mapping module supports JAXB 1 and 2, Castor, XMLBeans, JiBX, and XStream and, because it is a separate module, it can also be used in non-Web Services code as well.

Security aspects of Web Services are also covered. Developers can sign SOAP messages, encrypt and decrypt them or authenticate against them. The WS-Security implementation of Spring Web Services integrates with Spring (Acegi) Security, enabling developers to use existing configuration for SOAP service as well.

Poutsma's team has produced an online tutorial to explain the contract-first approach.

5 things you didn’t know about cloud backup

More from The Register

next story
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Best practices for enterprise data
Discussing how technology providers have innovated in order to solve new challenges, creating a new framework for enterprise data.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Advanced data protection for your virtualized environments
Find a natural fit for optimizing protection for the often resource-constrained data protection process found in virtual environments.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?