In this chapter, we will cover:
Setting up Web-Services using RMI
Setting up servlet-based Web-Services using Hessian/Burlap, exposing business beans
Setting up Web-Services using JAX-WS
Exposing servlet-based Web-Services using Apache CXF
Exposing Web-Services using JMS as the underlying communication protocol
Spring-WS project is a contract-first approach to build a Web-Service. This approach is already detailed in the first eight chapters. However, sometimes the requirement is to expose the existing business Spring beans as a Web-Service, which is called contract-last approach, to set up a Web-Service.
Spring's remoting supports communication with several remoting technologies. Spring remoting allows you to ...