473,320 Members | 2,133 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,320 software developers and data experts.

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 1538
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)? ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.