Spring Web Services 2 Cookbook

More Information
  • Setting up SOAP Web-Services using various protocols such as HTTP, JMS, XMPP, Email and so on
  • Implementing Web-Service's Endpoint using technologies such as DOM, JDOM, XPATH, and Marshaller
  • Testing Web-Services using latest features of Spring-WS
  • Creating and monitoring automated testing using tools such as soapUI and TCPMon
  • Marshalling and Un-Marshalling using Jaxb2, XMLbeans, Xstream and other technologies
  • Securing your Spring Web Service through encryption, decryption, digital signature authentication and authorization
  • Implement a Web-Service using Spring-Remoting on RMI, Hessian/Burlap, JAX-WS, JMS technologies and a Web-Service using Apache CXF on JAXWS front-end
  • Developing REST Web-Service server and client using Spring RESTful Support

Spring Web Services is a product of the Spring community focused on creating document-driven Web services.

Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

This comprehensive guide -- which provides professional expertise on a variety of technical topics right from setting-up a contract-first Web-Service, creating client of a Web-Service to serialization, monitoring, testing and security using Spring-WS -- helps you enhance your skills in Spring Web Services.

Spring Web Services 2 Cookbook includes a wide variety of recipes that covers most important topics used in real-world applications. It is a well-rounded guide covering a lot of ground in the Spring Web Services domain using systematic arranged chapters and focused recipes.

The book begins with setting up a contract first Web Service over various protocols such as JMS, XMPP, and Email. The next chapter targets creating clients for SOAP Web Services. We then learn how to test and monitor the Web Service using tools like soapUI and TCPMon. Building on, logging, tracing and exception handling are detailed in the subsequent chapter. The book then covers marshalling and unmarshalling using different technologies like JAXB2, XMLBeans, JibX, XStream, MooseXML etc. Securing WebServices through authentication, authorization, encryption and decryption and digital signature using Spring-WS features based on XWSS and WSS4J Libraries is outlined in the next chapter two chapters. The book then tackles development of RESTful Web Services. Finally, Setting up Web Services using Spring Remoting based on various technologies like HTTP , RMI, JMS, JAXWS and a Web Service using Apache CXF on JAX-WS front-end are explained.

This book will help relatively new developers in accelerating their learning process and experienced developers in expanding their skills sets of Spring Web Services.

  • Create contract-first Web services
  • Explore different frameworks of Object/XML mapping
  • Secure Web Services by Authentication, Encryption/Decryption and Digital
  • Learn contract-last Web Services using Spring Remoting and Apache CXF
  • Implement automated functional and load testing
  • Develop RESTful Web-Services
  • Log and trace SOAP messages
Page Count 322
Course Length 9 hours 39 minutes
ISBN 9781849515825
Date Of Publication 20 Feb 2012


Hamidreza Sattari

Hamidreza Sattari is an IT professional and has worked in several areas of software engineering, from programming to architecture as well as management. He holds a master’s degree in software engineering from Herriot Watt University in Scotland. In recent years, his areas of interest have been software architecture, data science, and machine learning. He co-authored the Spring Web Services 2 Cookbook and and Spring Essentials for Packt. He also maintains a blog under http://justdeveloped-blog.blogspot.com

Shameer Kunjumohamed

Shameer Kunjumohamed is a software architect specializing in Java-based enterprise application integrations, SOA, and the cloud. Besides Java, he is well-versed in the Node.js and Microsoft .NET platforms. He is interested in JavaScript MVC frameworks such as EmberJS, AngularJS, and ReactJS.

Shameer has co-authored another book, Spring Web Services 2 Cookbook, Packt Publishing with Hamidreza Sattari, who is the co-author of this book as well.

Based in Dubai, UAE, Shameer has over 15 years of experience in various functional domains. He currently works as a principal applications architect for a major shipping company in Dubai.