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

Communication between tiers

Hi,

we are about to design an 3-tier web application. The web server
(presentation layer), the application server and the database systems will
be on separate physical machines. My question is about the communication
between the web server and the application server. I know two .NET builtin
ways to manage this communication. We could implement web services, we could
use remoting. Are there any additional opportunities to do this (besides
inventing an own communication protocol :-).
Further I want to ask you: How did you implement this interface in your
recent projects? What where the facts that lead to your decision? Are you
still happy with this decision? Where are its advantages and disatvantages?
Although I can imagine some of the answers I am very interested what others
have experienced in their real life.

Regards,

Markus
Feb 16 '06 #1
3 1848
Hi Markus,

The whole n-tier exercise is to achieve higher scalability. MSMQ is an oft
used method to dispatch jobs from the web tier to the application tier. It
provides job throttling as well as job distribution over N-number of
application servers.

Best personal regards,
-- Li-fan

--
Li-fan Chen
Software analyst/developer, Entrepreneur
Markham, Ontario, Canada
"Markus R." <ma*****@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

we are about to design an 3-tier web application. The web server
(presentation layer), the application server and the database systems will
be on separate physical machines. My question is about the communication
between the web server and the application server. I know two .NET builtin
ways to manage this communication. We could implement web services, we
could use remoting. Are there any additional opportunities to do this
(besides inventing an own communication protocol :-).
Further I want to ask you: How did you implement this interface in your
recent projects? What where the facts that lead to your decision? Are you
still happy with this decision? Where are its advantages and
disatvantages?
Although I can imagine some of the answers I am very interested what
others have experienced in their real life.

Regards,

Markus

Feb 16 '06 #2
Hi Markus,

In addition to looking at MSMQ. Also try Service Broker in SQL Server 2005.

Best personal regards,
-- Li-fan

--
Li-fan Chen
Software analyst/developer, Entrepreneur
Markham, Ontario, Canada
"Markus R." <ma*****@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

we are about to design an 3-tier web application. The web server
(presentation layer), the application server and the database systems will
be on separate physical machines. My question is about the communication
between the web server and the application server. I know two .NET builtin
ways to manage this communication. We could implement web services, we
could use remoting. Are there any additional opportunities to do this
(besides inventing an own communication protocol :-).
Further I want to ask you: How did you implement this interface in your
recent projects? What where the facts that lead to your decision? Are you
still happy with this decision? Where are its advantages and
disatvantages?
Although I can imagine some of the answers I am very interested what
others have experienced in their real life.

Regards,

Markus

Feb 16 '06 #3
Hi Markus,

Thanks for posting!

For the current issue, there are many ways to achieve the distribution
system in .NET application. As Li-Fan mentioned, the MSMQ is a one choice.
However, I usually use the .NET Remoting or Web Service in my project
because of usability and scalability. The article below explains how to
make a choice between .NET Remoting and Web Service:
http://msdn.microsoft.com/library/de...us/dnbda/html/
bdadotnetarch001.asp

I hope this will be helpful. Thanks for your understanding!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support

Feb 17 '06 #4

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

Similar topics

3
by: Tim Reynolds | last post by:
I support a .Net application running on a SERVER accessing MF Db2 data. Occasionally, we have some type of connection problem that we have been unable to debug up to this point. We typically...
2
by: TS | last post by:
If I have custom data entity objects that are simple classes with properties storing data for a particular entity, then I want to pass this object to another server, how does the other server know...
1
by: ken | last post by:
Dear all does any recommend books for develop middle tiers for .ne recently, i develop asp.net only aspx/dll, database , two tier and vb.net only frm/dll, database, two tiers
1
by: Rupert | last post by:
I am developing a system in ASP.NET and am new to the technology. I am running everything on the laptop I am developing on (windows xp). The DB is Oracle and my aspx pages and C# code behind...
1
by: Freaky Coder | last post by:
Can anyone tell me if I'm insane or not? I have a problem where I have a data tier where every class represents a table, and a class can have properties which are object of another class. For...
5
by: Ronald S. Cook | last post by:
We have a Windows app which contains UI code and all classes that perform business logic and make calls to database stored procs (located on a database server - i.e. not local to the app). My...
8
by: Henrik Dahl | last post by:
Hello! In some situations I have a collection of objects which it in different situations could be relevant to deal with at the UI-tier and sometimes at other tiers. Typically my concept is a...
9
by: JB | last post by:
Hi All, I have a VB.NET application that constantly executes queries through ODBC connections. The application consists of a simple Form type UI where the query parameters can be edited, and a...
5
by: runtime | last post by:
Hello! First time posting... Question about the difference between layers and tiers: How many tiers are in the WAMP environment? This is not an exam question, but the answer will help me...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.