473,387 Members | 1,532 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,387 software developers and data experts.

2.0 data architecture question

I'm reading about the "3-tier" design afforded by using Object Data Sources
in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web sever
isn't 3 tier design. To accomplish 3-tier design I would want to put the
Object Data Source in a dll that runs on another server than the web server.
Then I need to use that object data source remotely.

But how can I accomplish binding to my object data source when it's on
another computer. Do I have to use Remoting or is there a slicker way to do
this?

Thanks,
T
Jun 3 '06 #1
5 1322
In form it may not "seem" like 3-tier design, but in function it is.
3-tier, or n-tier, design simply means to create separate programming
interfaces for the visual, data access, and business logic parts of an
app. Putting the data access into separate "modules" or classes, or
whatever, so long as they are separate, creates the multi-tiered design
-- assuming the interfaces are truly separate.

As for accessing logic on a separate computer without remoting, or
something similar, it is simply not possible. There are several methods
of accomplishing remote procedure calls including SOAP and DCOM, to
name a couple, but they all use some sort of network access to
accomplish the calls.

What is slick is to put remoting into the data access layer... or even
better, create a separate remote data access layer that can be used
interchangeably with the "local" data access layer. This is what we did
in my company.

Curtis

Tina wrote:
I'm reading about the "3-tier" design afforded by using Object Data Sources
in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web sever
isn't 3 tier design. To accomplish 3-tier design I would want to put the
Object Data Source in a dll that runs on another server than the web server.
Then I need to use that object data source remotely.

But how can I accomplish binding to my object data source when it's on
another computer. Do I have to use Remoting or is there a slicker way to do
this?

Thanks,
T


Jun 3 '06 #2
So, it sounds like you accomplished physical three tier design using
remoting. Right?
T
"Curtis" <cu**********@hotmail.com> wrote in message
news:11*********************@f6g2000cwb.googlegrou ps.com...
In form it may not "seem" like 3-tier design, but in function it is.
3-tier, or n-tier, design simply means to create separate programming
interfaces for the visual, data access, and business logic parts of an
app. Putting the data access into separate "modules" or classes, or
whatever, so long as they are separate, creates the multi-tiered design
-- assuming the interfaces are truly separate.

As for accessing logic on a separate computer without remoting, or
something similar, it is simply not possible. There are several methods
of accomplishing remote procedure calls including SOAP and DCOM, to
name a couple, but they all use some sort of network access to
accomplish the calls.

What is slick is to put remoting into the data access layer... or even
better, create a separate remote data access layer that can be used
interchangeably with the "local" data access layer. This is what we did
in my company.

Curtis

Tina wrote:
I'm reading about the "3-tier" design afforded by using Object Data
Sources
in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web
sever
isn't 3 tier design. To accomplish 3-tier design I would want to put the
Object Data Source in a dll that runs on another server than the web
server.
Then I need to use that object data source remotely.

But how can I accomplish binding to my object data source when it's on
another computer. Do I have to use Remoting or is there a slicker way to
do
this?

Thanks,
T

Jun 3 '06 #3
if you move your third tier to another server you have to decide what hosts
it (loads the code so the 2nd tier can call it).

if you use IIS for hosting then use SOAP. if you're all dot net, and want to
use remoting, then write a nt service to host your 3rd tier and listen on a
fixed port. You could also use com+ to host the 3rd tier then you use dcom.
if you use SQLServer 2005, you can use sqlserver to host the 3rd tier and
use either SOAP or Sql procedure calls.

-- bruce (sqlwork.com)
"Tina" <ti**********@nospammeexcite.com> wrote in message
news:Oq*************@TK2MSFTNGP03.phx.gbl...
So, it sounds like you accomplished physical three tier design using
remoting. Right?
T
"Curtis" <cu**********@hotmail.com> wrote in message
news:11*********************@f6g2000cwb.googlegrou ps.com...
In form it may not "seem" like 3-tier design, but in function it is.
3-tier, or n-tier, design simply means to create separate programming
interfaces for the visual, data access, and business logic parts of an
app. Putting the data access into separate "modules" or classes, or
whatever, so long as they are separate, creates the multi-tiered design
-- assuming the interfaces are truly separate.

As for accessing logic on a separate computer without remoting, or
something similar, it is simply not possible. There are several methods
of accomplishing remote procedure calls including SOAP and DCOM, to
name a couple, but they all use some sort of network access to
accomplish the calls.

What is slick is to put remoting into the data access layer... or even
better, create a separate remote data access layer that can be used
interchangeably with the "local" data access layer. This is what we did
in my company.

Curtis

Tina wrote:
I'm reading about the "3-tier" design afforded by using Object Data
Sources
in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web
sever
isn't 3 tier design. To accomplish 3-tier design I would want to put
the
Object Data Source in a dll that runs on another server than the web
server.
Then I need to use that object data source remotely.

But how can I accomplish binding to my object data source when it's on
another computer. Do I have to use Remoting or is there a slicker way
to do
this?

Thanks,
T


Jun 3 '06 #4
Correct. We can choose between a 'remoting' interface and a 'local'
interface.

Curtis

Tina wrote:
So, it sounds like you accomplished physical three tier design using
remoting. Right?
T
"Curtis" <cu**********@hotmail.com> wrote in message
news:11*********************@f6g2000cwb.googlegrou ps.com...
In form it may not "seem" like 3-tier design, but in function it is.
3-tier, or n-tier, design simply means to create separate programming
interfaces for the visual, data access, and business logic parts of an
app. Putting the data access into separate "modules" or classes, or
whatever, so long as they are separate, creates the multi-tiered design
-- assuming the interfaces are truly separate.

As for accessing logic on a separate computer without remoting, or
something similar, it is simply not possible. There are several methods
of accomplishing remote procedure calls including SOAP and DCOM, to
name a couple, but they all use some sort of network access to
accomplish the calls.

What is slick is to put remoting into the data access layer... or even
better, create a separate remote data access layer that can be used
interchangeably with the "local" data access layer. This is what we did
in my company.

Curtis

Tina wrote:
I'm reading about the "3-tier" design afforded by using Object Data
Sources
in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web
sever
isn't 3 tier design. To accomplish 3-tier design I would want to put the
Object Data Source in a dll that runs on another server than the web
server.
Then I need to use that object data source remotely.

But how can I accomplish binding to my object data source when it's on
another computer. Do I have to use Remoting or is there a slicker way to
do
this?

Thanks,
T


Jun 5 '06 #5
Thus wrote Tina,
I'm reading about the "3-tier" design afforded by using Object Data
Sources in the App_Data folder in 2.0 asp.net projects.

To me, putting an object data source in a separate folder on the web
sever isn't 3 tier design. To accomplish 3-tier design I would want
to put the Object Data Source in a dll that runs on another server
than the web server. Then I need to use that object data source
remotely.


Your confusing Layers and Tiers. Worse, you tread on a dangerous path here.
There's almost nothing to be gained in distributing your DAL (don't confuse
that with your DB) to another tier -- save for horrible remoting overhead.

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Jun 6 '06 #6

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

Similar topics

6
by: Sebastian Kemi | last post by:
How should a write a class to a file? Would this example work: object *myobject = 0; tfile.write(reinterpret_cast<char *>(myobject), sizeof(*object)); / sebek
26
by: Kip | last post by:
Greetings everyone, Is there anyone here who could point me to a page or pdf that has a list of the sizes of all of the C primitive data types on various implementations such as SPARC, x86,...
4
by: Oyvind | last post by:
I'm working on a Windows forms/C# database application. My background is 6-7 years of VB 4 - 6, MS Access, VC++, mixed in with a lot of T-SQL and MS SQL Server in general and some OOA/OOD. ...
3
by: PJ6 | last post by:
First up, I know I'll get some good answers here, but in general, are there any newsgroups devoted to overall application architecture? Second, sorry for cross-posting but in this case I think...
3
by: Shawn Ramirez | last post by:
As with most web applications speed is a huge deal to me in my applications. My customers don't really care if my app is a true 3 tier application or not, they just want it to be faster then it was...
13
by: rrs.matrix | last post by:
hi i have to detect the type of CPU. whether it is 32-bit or 64-bit.. how can this be done.. can anyone please help me.. thanks.
7
by: MarkusJNZ | last post by:
Hi, we have some datafeeds which pull info from external sources. Unfortunately, we have to use screen scraping as there are no XML feeds. The data feeds are located in a variety of different...
21
by: koolj96825 | last post by:
Hi, I've been working on this project for the past few months in my spare time, and now I started working on the windows interface and going over my petzold book, I've come to the realization...
1
by: cypher_key | last post by:
I want to write a simple application for my own use. I've already have the data populated in a database and I have a data source setup. I can use the wizards to generate a master detail data form...
11
by: itdevries | last post by:
Hi, I'm trying to convert some char data I read from a binary file (using ifstream) to a float type. I've managed to convert the int types but now I need to do the float types as well but it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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,...

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.