473,385 Members | 1,673 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.

Passing data between tiers on diff. servers

TS
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 about this object type since
the class is created on the source server.

Having all of these tiers on the same server you can get reference to this
type from the other tier because you have access to it, but on the other
server, how do you use it? (on the same tier you would just: dim entity as
new Tier2Project.customEntity() )
Nov 18 '05 #1
2 1755
Hi TS,

As for the pass object values between distributed enviroments in N-Tier
app, I think the problem should be described as below:

When we build distributed application and want to transfer complex types's
instances between separate servers, first of all we have to decide what
remote communication approach shall we use. There're so many remote
processing means such as RPC, Socket based, or DCOM, and in .net there are
some new features on remote processing ,
1. Xml WebService:
We can define some managed classes and expose some methods and interfaces
by an ASP.NET WebService so that it can be consumed by a remote client.

#Creating XML Web Services in Managed Code
http://msdn.microsoft.com/library/en...vicePublishing
.asp?frame=true

And the WebService will have WSDL document which can help the client
generate the client proxy to call webservice. We can generate managed proxy
via VS.NET or use the wsdl.exe directly, which will help genreate the proxy
class and any other classes necessary at the clientside.

2. .NET Remoting, this is a .net specified feature on remote method call.
It also help expose a managed class so that remote client applicaiton and
retireve it and invoke its methods.

#An Introduction to Microsoft .NET Remoting Framework
http://msdn.microsoft.com/library/en...oting.asp?fram
e=true

Also, you can find much more resources in MSDN on developing xml webservice
or .net remoting apps. Hope these helps. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2
TS
thanks

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:pk*************@cpmsftngxa10.phx.gbl...
Hi TS,

As for the pass object values between distributed enviroments in N-Tier
app, I think the problem should be described as below:

When we build distributed application and want to transfer complex types's
instances between separate servers, first of all we have to decide what
remote communication approach shall we use. There're so many remote
processing means such as RPC, Socket based, or DCOM, and in .net there are
some new features on remote processing ,
1. Xml WebService:
We can define some managed classes and expose some methods and interfaces
by an ASP.NET WebService so that it can be consumed by a remote client.

#Creating XML Web Services in Managed Code
http://msdn.microsoft.com/library/en...vicePublishing asp?frame=true

And the WebService will have WSDL document which can help the client
generate the client proxy to call webservice. We can generate managed proxy via VS.NET or use the wsdl.exe directly, which will help genreate the proxy class and any other classes necessary at the clientside.

2. .NET Remoting, this is a .net specified feature on remote method call.
It also help expose a managed class so that remote client applicaiton and
retireve it and invoke its methods.

#An Introduction to Microsoft .NET Remoting Framework
http://msdn.microsoft.com/library/en...oting.asp?fram e=true

Also, you can find much more resources in MSDN on developing xml webservice or .net remoting apps. Hope these helps. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3

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

Similar topics

2
by: Bob Alston | last post by:
Anyone out there successfully deployed Data Access Pages, on a server they do not control, using RDS in a 3-tier environment? If so I would like to hear about your success. From my reading, RDS...
3
by: Simon Harvey | last post by:
Hi, In my application I get lots of different sorts of information from databases. As such, a lot of information is stored in DataSets and DataTable objects. Up until now, I have been passing...
6
by: Igor Shevchenko | last post by:
Hi! Suppose I have "pg_dump -s" of two pg installs, one is "dev", another is "production". Their schemas don't differ too much, and I want to get a "diff -u"-like schema diff so I can quickly...
2
by: grawsha2000 | last post by:
Greetings, I am developing this N-tier business app. The problem I'm facing is when I try to pass business objects (employees, dept..etc) from business tier to data tier,i.e., the add method in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
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...

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.