473,388 Members | 1,322 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Business Objects vs. Datasets

What is Microsoft's stance on developing business objects
vs datasets when creating n-tier apps. Is anyone doing
business objects?

It appears that most articles from MS recommend passing
datasets between tiers but this seems to be a poor design
decision in that I need to know about the database
structure in each tier and I can't encapsulate business
rules that apply.

Any thoughts?

Thanks
BK
Jul 21 '05 #1
5 1616
If you expose your business logic thru a webservice, and
you webservice takes datasets as parameters, then
accessing the webservice using java or infopath might be
difficult. Datasets are visual studio only...
-----Original Message-----
What is Microsoft's stance on developing business objects
vs datasets when creating n-tier apps. Is anyone doing
business objects?

It appears that most articles from MS recommend passing
datasets between tiers but this seems to be a poor design
decision in that I need to know about the database
structure in each tier and I can't encapsulate business
rules that apply.

Any thoughts?

Thanks
BK
.

Jul 21 '05 #2
"Brian Kiser" <an*******@discussions.microsoft.com> wrote in
news:05****************************@phx.gbl:
What is Microsoft's stance on developing business objects
vs datasets when creating n-tier apps. Is anyone doing
business objects?

It appears that most articles from MS recommend passing
datasets between tiers but this seems to be a poor design
decision in that I need to know about the database
structure in each tier and I can't encapsulate business
rules that apply.


Microsoft does also recommend n-tier. See their patterns site:

http://msdn.microsoft.com/practices/...se/default.asp

layer pattern:
http://msdn.microsoft.com/practices/...EspPatternsFor
BuildingEnterpriseSolutions/

If you would like samples see the following open source projects:

http://sourceforge.net/projects/dbobjecter
http://sourceforge.net/projects/genadonet

The latest templates for the code 'dbobjecter' generator are the better
ones.

Michael Lang, MCSD
Jul 21 '05 #3
>If you expose your business logic thru a webservice, and
you webservice takes datasets as parameters, then
accessing the webservice using java or infopath might be
difficult. Datasets are visual studio only...

Actually, Datasets get serialized to XML through web services quite nicely. We
have applications in C# and java using the same web services passing datasets
back and forth.

Jul 21 '05 #4
Brian,
In case you don't have it:

Rockford Lhotka has a framework based on .NET that uses Business Objects
that can be local or remote and fully supports databinding.

Check out CSLA.NET at:
http://www.lhotka.net

Both Business objects & Datasets have their own pluses & minuses, which one
to use I think depends on your project requirements.

Hope this helps
Jay
"Brian Kiser" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
What is Microsoft's stance on developing business objects
vs datasets when creating n-tier apps. Is anyone doing
business objects?

It appears that most articles from MS recommend passing
datasets between tiers but this seems to be a poor design
decision in that I need to know about the database
structure in each tier and I can't encapsulate business
rules that apply.

Any thoughts?

Thanks
BK

Jul 21 '05 #5
[This followup was posted to microsoft.public.dotnet.general and a copy
was sent to the cited author.]

In article <05****************************@phx.gbl>,
an*******@discussions.microsoft.com says...
What is Microsoft's stance on developing business objects
vs datasets when creating n-tier apps. Is anyone doing
business objects?

It appears that most articles from MS recommend passing
datasets between tiers but this seems to be a poor design
decision in that I need to know about the database
structure in each tier and I can't encapsulate business
rules that apply.

Any thoughts?

Thanks
BK

I believe that there is much to be gained with a fully object oriented
view. However, it appears that Microsoft may have a specific model in
mind that has the layers, WebUi, BusinessRules, Dataset, datalayer. So
how do we fit something like WebUI, View, Controller,
BusinessObjects,datalayer?

Thanks for sharing your views
Fritz Schenk
fr**********@countrywide.com
Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
18
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
25
by: Penelope Dramas | last post by:
Hello, I'm in a front of very serious .net redesign/rewrite of an old VB6 application. I had been asked to make it .NET 2.0 and would like to ask couple of questions regarding data access as...
8
by: morleyc | last post by:
Hi, until recently i was quite happy to add data sources from mssql database in visual studio and drag the datasets directly onto the form this creating a directly editable form which worked well....
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.