Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Generating WSDL and XSD contracts from Java code and setting up a Web-Service is called contract-last development . The major drawback to this approach is the contracts (WSDL or XSD) of the Web-Service could eventually change if there are any changes in Java classes. In this way, the client side has to update the client-side classes and that always is not favorable. The contract-first approach was introduced as an alternative to tackle the contract-last's bottleneck. In the contract-first approach, the contract (WSDL or schema) are primary artifacts to set up a Web-Service.
Some of the advantages of the contract-first approach over contract-last are as follows: