O'Reilly logo

Quickstart Apache Axis2 by Deepal Jayasinghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Contract First or Code First

When it comes to Web Service development, especially at the server side, there are two main approaches for creating a service. The first approach starts from a contract. In this context, the contract is nothing but WSDL. The second approach starts from code, and makes a service out of that; the POJO approach is a commonly used mechanism in the code first approach. Each approach has its own advantages and disadvantages. When considering the two approaches, some may argue that the code-first approach is the best, while some others may argue that the contract-first approach is the best. When it comes to complex systems, contract approach is the best, while the code-first approach would be the best in the development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required