Feeds

Interface21 focuses on 'contract first'

Spring framework delivers Web Services

  • alert
  • submit to reddit

Intelligent flash storage arrays

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.

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Google opens Inbox – email for people too thick to handle email
Print this article out and give it to someone tech-y if you get stuck
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Entity Framework goes 'code first' as Microsoft pulls visual design tool
Visual Studio database diagramming's out the window
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.