Aren't Typed Datasets XSD really Contracts?

Roy found the xsd tool recently and got the typed datasets to scale. I still don't like them.

What is really the difference in beeing dependant on the xsd schema than a dll reference? If you do the Service Oriented approach on this problem you'll come down to what Clemens and Steve predicates these days: it's all about contracts.

The xsd schema for the typed datasets is basically just a .net platform specific contract for one given message type between the Data service layer on top of the database and the service that requests this data. Doesn't it feel a bit like WSDL? You get some xml schema type thing, use a .net framework tool and generate a class. It's the same thing.

This leads down to the question causing the most confusion in my world these days;

What place does object orientation have in a Service Oriented, message-driven, distributed architecture?

Objects can by definition not pass far connections. Messages can. So if you are building applications for a distributed environment, the OO stays in one location. Then messages are sent between these systems. This applies even to the data layer, although in a lesser degree.

In this case, if the datalayer is so tightly bound to the service that you don't need a message contract, but can use a TDS, I can't really see why this application couldn't have used regular business entities in a shared assembly.

Comments

# Andres Aguiar said:

>I can't really see why this application
>couldn't have used regular business entities
>in a shared assembly.

Because if you want to bind them, do optimistic concurrency, use them as XML, etc, you will have to replicate TDS functionality, as discussed in http://dotnetweblogs.com/aaguiar/posts/6449.aspx

Monday, May 05, 2003 7:19 AM
# Mads said:

For me this is more of an architectural question. In what you are suggesting the TDS is the backbone of your architecture, and it supplies services on all layers (binding etc.) This is a layer-specific task, which can get bloated on layers not needing these services.
<br><br>The core is xml. The dataset can be an architectural crutch.

Monday, May 05, 2003 7:36 AM
# TrackBack said:

Eric J. Smith's Weblog

Monday, May 05, 2003 2:08 PM
# TrackBack said:

mads studentblog

Monday, May 05, 2003 2:08 PM
# Lexapro. said:

Lexapro. When do you feel better with 10mg lexapro.

Monday, June 23, 2008 5:19 PM
# Effexor side effects. said:

Effexor alcohol abuse. Effexor side effects. Effexor. Does effexor xr work. Effexor long term side effects. Effexor xr side effects. Uses of effexor. Effexor and alcohol. Side affects of effexor.

Wednesday, June 25, 2008 7:24 PM
# Generic zoloft. said:

Zoloft. Zoloft withdrawl.

Thursday, July 03, 2008 12:09 AM
# Is ultracet addictive. said:

Ultracet addiction. Ultracet.

Sunday, July 06, 2008 5:55 AM
# clathrate newsletter shelf brightness said:

app cycles oscillation conclude major variations

Friday, May 08, 2009 10:40 AM
# Heel said:

<a href= http://radiodisneyjinglejam.ao

Saturday, May 23, 2009 8:17 PM
# Diesel said:

<a href= mysacrficelyrics.lifeauts.

Saturday, May 30, 2009 3:17 AM
# Kir said:

<a href= africanworldofbraidskinkytwist.douhije.cn >african world of braids kinky t

Thursday, July 02, 2009 1:06 AM
# hazlenesmi said:

180 societies growing gun past economy major

Wednesday, July 22, 2009 3:48 PM
# buyusedcars said:

thanks !!  very helpful post!

Monday, September 14, 2009 5:17 AM
# shelpblethy said:

Hello Guru, what entice you to post an article. This article was extremely interesting, especially since I was searching for thoughts on this subject last Thursday.

Sunday, October 11, 2009 3:32 AM

Leave a Comment

(required) 
(required) 
(optional)
(required)