The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Contract-First Web Services with Apache Axis2
Subject:  I disagree
Date:  2006-08-14 08:18:34
From:  ajithranabahu
Response to: I disagree


I suppose this is one of the most talked about areas in developing a web sercvice, whether to use the code first or contract first. However what you have to rememebr is that all web service developers do not use Java ! There are tons of other ways to implement a webservice and essentially there is no way that you can enforce uniformity among all these programming languages except declaring the WSDL. So in a business perspective what is worth agreeing upon is the WSDL, not the Java interface.
The Axis2 community understands the need for code first developement too, you can expose a class as a web service and there is on going work that aims to add annotation support. However the more extensible and enterprise friendly way is to use the WSDL first.
As I said in an earlier comment also, my intention in this article is demostrating the Axis2 contract first capabilities, not the contrast between code first and contract first.

 Feed java.net RSS Feeds