Code-first interfaces may not be well suited for the demands of remote traffic. It's generally accepted that not all procedures or methods should be made remote: if you're going to take on the overhead of a network call then you should maximize the amount of data transmitted with each call. Current coding practices often lead to many fine grained methods (for example, get() and set() methods on Java beans) that are unsuitable for remote access. Early Java-to-WSDL tools generated WSDL on a class/interface level, not allowing you to distinguish between those methods you wanted to expose remotely through the WSDL contract and those you want to remain outside of the contract. Newer tooling using JAX-WS and .NET does allow you to specify remoting on a per-method basis, which alleviates this problem somewhat. However, this tooling relies on network-savvy developers and designers - are they always going to be around to make sure someone not so clued in starts adding poorly designed operations to the interface?Contract-First or Code-First Design – Part 2
-
Contract-First or Code-First Design – Part 2 (4 messages)
- Posted by: Jack Vaughan
- Posted on: April 16 2007 05:30 EDT
The second in the series of transcriptions recorded in a bar in London between Ted Neward and Adrian Trenaman is on the code-first/contract-first debate, wherein the question is asked: What price RPC?Threaded Messages (4)
- Re: Contract-First or Code-First Design – Part 2 by Guido Anzuoni on April 16 2007 05:58 EDT
- Sorry by Jack Vaughan on April 17 2007 14:44 EDT
- who cares by shawn spencer on April 18 2007 11:24 EDT
- Sorry by Jack Vaughan on April 17 2007 14:44 EDT
- Interesting... by Mittal Bhiogade on April 19 2007 14:16 EDT
-
Re: Contract-First or Code-First Design – Part 2[ Go to top ]
- Posted by: Guido Anzuoni
- Posted on: April 16 2007 05:58 EDT
- in response to Jack Vaughan
Why on the earth should be of any interest two guys having a nice beer talking of warm water ? Guido -
Sorry[ Go to top ]
- Posted by: Jack Vaughan
- Posted on: April 17 2007 14:44 EDT
- in response to Guido Anzuoni
Sorry. This was a bad url...instead try... http://tssblog.techtarget.com/index.php/contract-first-or-code-first-design-part-2/ -
who cares[ Go to top ]
- Posted by: shawn spencer
- Posted on: April 18 2007 11:24 EDT
- in response to Jack Vaughan
Who cares what two drunk people are talking in a bar -
Interesting...[ Go to top ]
- Posted by: Mittal Bhiogade
- Posted on: April 19 2007 14:16 EDT
- in response to Jack Vaughan
This article was very interesting in terms of conversation presented by the writer Thanks Mittal