473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to implement a three layered serivces application

Hi,

I've been reading about three layered serivces applications
(http://msdn.microsoft.com/library/de...redSvcsApp.asp)

Now wonder how this fits all together..., am I thinking right, when I say:

You have a DLL for data access components (DAC), which take care of the
database interaction.

You have a DLL for business entities (BE), which references the DAC for CRUD
operations....

You have a DLL for Business Components (BC) which references the BE This
means just checking values etc. of the business entities and check if they
can be saved, updated, etc.

You have a DLL for BW, which actually just references the BC to set all the
business rules in one correct order?

You a facade layer which references all BE; BC and BW? How do you implement
this layer so that it's easy to program the UI?

And are UI Process Components just the Code Behind Files? And what do you
need to reference from here? Also BE, BC and BW or only the facade layer? How
do you get your objects then? What is the use of the facade layer then?

And how about the Security, OM and Communication? Are these just
helperclasses? I would like to get more a more technical view at this
theoretical documentation....
Jul 21 '05 #1
2 1543
On Wed, 16 Mar 2005 17:49:02 -0800, GoofyIdiot wrote:

Hi Goofy
Hi,

I've been reading about three layered serivces applications
(http://msdn.microsoft.com/library/de...redSvcsApp.asp)

Now wonder how this fits all together..., am I thinking right, when I say:

You have a DLL for data access components (DAC), which take care of the
database interaction.

You have a DLL for business entities (BE), which references the DAC for CRUD
operations....

You have a DLL for Business Components (BC) which references the BE This
means just checking values etc. of the business entities and check if they
can be saved, updated, etc.

You have a DLL for BW, which actually just references the BC to set all the
business rules in one correct order?

You a facade layer which references all BE; BC and BW? How do you implement
this layer so that it's easy to program the UI?

And are UI Process Components just the Code Behind Files? And what do you
need to reference from here? Also BE, BC and BW or only the facade layer? How
do you get your objects then? What is the use of the facade layer then?

And how about the Security, OM and Communication? Are these just
helperclasses? I would like to get more a more technical view at this
theoretical documentation....


Well, I'd say a lot of questions for a simple news message to answer! That
would fill books!
I strongly suggest you to read one of the books of Rockford Lhotka about
business objects (and multi-tier applications). His has two books, one for
VB.NET programmers and one for C# programmers. Reading his book (and it's
fun to read because very well written) and your questions are all answered
and you even get a multier-tier open source framework with it, ready to use
for basic n-tier application development.

Visit his web page to get more information on the books:
http://www.lhotka.net

--
Claudio Grazioli
http://www.grazioli.ch
Jul 21 '05 #2
daClaudio,

I have read the book (VB version, while I program mostly C#). Anyway, the
only thing in this book that I have read, is about Business Entities,
Business Rules of those Entities and the daL part. That part I get from the
book.

I have the feeling the the OM, Security and Communication are helper classes.

What I don't get is how to implement the Workflow and the facade layer....Do
you have any references to that? Another book maybe?

And was I right the the ProcessUI is all in the code behind files?

Greetings
Jul 21 '05 #3

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

Similar topics

2
by: Microsoft | last post by:
I'm about to start converting my application from a old-style monolith exe (with flat files and limited database support for sharing some of the data) to a layered .NET SQL server version. I have...
3
by: Alexander Wehrli | last post by:
Hi, Is it possible to use Controls on a Layered Window? Regards Alexander
2
by: GoofyIdiot | last post by:
Hi, I've been reading about three layered serivces applications (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ArcThreeLayeredSvcsApp.asp) Now wonder how...
4
by: GrandpaB | last post by:
Hi, I recently had a post about how to block Mousewheel events. The answer was to implement an IMessageFilter. Sadly, I must report that after 24 hours of researching my library and online...
7
by: Jon Davis | last post by:
I have a couple questions. First of all, would anyone consider a multi-layered programming approach (building business objects that are seperate from data access logic and seperate from user...
3
by: kartoshka | last post by:
I'm writing a job application; English is not my native language & I'm having trouble translating some of the criteria requirements into what I know / have done (I have 5 years c / C++ experience...
4
by: Fromethius | last post by:
Well I'm using Dev-C++ and I made a Windows Application. I understand the basics, adding buttons and menus, etc. But what I really want to know is how to make layered images. For example,...
9
by: =?Utf-8?B?RXZlcnQ=?= | last post by:
Does anybody have a good example/guide for using LINQ in a layered architecture with maybe WCF? Thanks in advance, Evert
9
by: Shreyas | last post by:
Sorry if this has been asked before. Does anyone know of any modern examples of open source software implemented in ANSI-C using a truly layered architecture (preferably in an OO fashion)? ...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.