473,507 Members | 8,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An architectural question

I have a web service which accepts some data and stores that data in the
database. My question is should this web service talk directly to the data
access layer (DAL), which populates the database or should there be an extra
layer between web service and the DAL? If there should be an extra layer
then what is that layer?

Also, if you have any link to sites that cover these type of issues I would
appreciate it if you could share them.

Thanks,

Alex.


Nov 21 '05 #1
2 1430
Depending on the complexity it can either talk to the DAL or simply use any
Business Objects you may have to perform the required business
functionality. Check out this link:

Designing Applications and Services
http://msdn.microsoft.com/library/de...AppArchCh2.asp

Thanks,

Sam

--
_______________________________
Sam Santiago
ss*******@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"Alexander Kaplunov" <ak*******@nvidia.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
I have a web service which accepts some data and stores that data in the
database. My question is should this web service talk directly to the data
access layer (DAL), which populates the database or should there be an extra layer between web service and the DAL? If there should be an extra layer
then what is that layer?

Also, if you have any link to sites that cover these type of issues I would appreciate it if you could share them.

Thanks,

Alex.

Nov 21 '05 #2
Ice
why do you need a webservice to persist data? security, validation or
something? in distributed solutions this can be a big time bottlneck.

i general abstract my communication layer (web services, remoting,
enterprise services (server apps)) from actual logic. In short, I'd have
another class do the persisting.

ice
"Sam Santiago" <ss*******@n0spam-SoftiTechture.com> wrote in message
news:OQ**************@TK2MSFTNGP14.phx.gbl...
Depending on the complexity it can either talk to the DAL or simply use any Business Objects you may have to perform the required business
functionality. Check out this link:

Designing Applications and Services
http://msdn.microsoft.com/library/de...AppArchCh2.asp
Thanks,

Sam

--
_______________________________
Sam Santiago
ss*******@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"Alexander Kaplunov" <ak*******@nvidia.com> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
I have a web service which accepts some data and stores that data in the
database. My question is should this web service talk directly to the data access layer (DAL), which populates the database or should there be an

extra
layer between web service and the DAL? If there should be an extra layer
then what is that layer?

Also, if you have any link to sites that cover these type of issues I

would
appreciate it if you could share them.

Thanks,

Alex.


Nov 21 '05 #3

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

Similar topics

0
1235
by: Andrzej | last post by:
I am looking up for book about XML architectural forms. Or good site. Regards Andrzej
4
1123
by: Mike | last post by:
Hi! I have several methods of different importance that I’d like to call asynchronously from Main(). I am going to span these threads but will have to implement some kind of a mechanism to wait...
2
1244
by: Viet | last post by:
I have an architectural issue that I have been working on for quite awhile now and I would like another person's point of view. This issue involves the conversion of a VB6 app to VB.NET. In this...
11
1749
by: stax | last post by:
Hi, Assuming having a method that calls another method which also calls other methods and so on having a long winded tree of methods. What do I do in case it turns out everything has to be...
2
1576
by: engwar | last post by:
Which starter kit or open source project would you consider well-architected? Or more specifically which has good examples to showing a newbie how to separate presentation/business logic/data...
1
1678
by: Griff | last post by:
Hi I'm not sure of the best way to go about achieving my goal and would appreciate any advice. What I would like to do is to generate a control that can be dropped onto a web page. For...
12
1361
by: Rowan | last post by:
Hi there, I am just starting in .net 2.0 with a background in VB6. I have two projects to complete. The first being a website and the second is a client application. For now the majority of...
2
1231
by: DC | last post by:
Hi, I have designed some data objects that I want to be filled by several providers. Do these objects typically belong into a seperate project (plus each provider is a separate project)? ...
4
1612
by: Girish | last post by:
i have to implement caching in my application, can any one tell me about the good techniques to implement caching, or provide some architectural help , so i can use it to my application. i want...
0
7223
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
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7030
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...
0
5623
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
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
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
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
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 ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.