Feeds

Interface21 focuses on 'contract first'

Spring framework delivers Web Services

  • alert
  • submit to reddit

Choosing a cloud hosting partner with confidence

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.

Business security measures using SSL

More from The Register

next story
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.
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.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.