Session Details
Session ID: TS-4883
Session Title: Coding REST and SOAP Together
Session Abstract: This session questions the possibilities of architecting a new application, or rearchitecting an existing one, for exposing SOAP as well as REST front ends. In such a situation, the largest drawback is cost of maintenance and thus code reuse becomes increasingly important. With SOAP and REST being rather opposite architectures, fighting cost increases the need for compromises. This session questions the principles of both styles and discusses the potential drawbacks and outcomes of not adhering to each of the individual principles.

Java™ API for XML Web Services (JAX-WS) and Java API for RESTful Web Services (JAX-RS) are annotation-driven APIs that make it easy to build Java technology-based SOAP and RESTful Web services. People can easily use annotations from both specifications to implement both SOAP and REST interfaces in their Web services, and the presentation introduces general guidelines on how to apply this approach and make SOAP and REST live peacefully together. It also discusses cases in which the REST style can be broken if all of its principles are not adhered to, and it provides some patterns for fixing it.


Track: Services SOA Scheduling Track; Services: SOA Platform and Middleware Services
Duration: 60
Speaker(s): Martin Grebac, Sun Microsystems, Inc.; Jakub Podlesak, Sun Microsystems