473,831 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.cu stomEntity() )
Nov 18 '05 #1
2 1772
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.m icrosoft.com> wrote in message
news:pk******** *****@cpmsftngx a10.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
1777
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 is not widely available on commercial servers due to security issues advised by Microsoft (see prior posts). I have done it successfully in a two tier environment - which (according to Microsoft) is where the page is on a server, but the access...
3
4762
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 around chunks of data in DataTables/DataSets, simply because that was the format that they were in when the data was taken from the database. Now, I know this maybe a pretty silly question with a standard "it depends" answer, but I'm going to...
6
6458
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 add missing/remove old tables/sequences/etc to one or another (manually). Is there some quick tool for doing this ? There was a thread about it sometime in aug, 2002, but it ended without producing anything useful.
2
2645
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 the data tier expects business object from the business tier, I get an error saying: Can not covert businesslayer.emp to businesslayer.emp
0
9642
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10778
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10538
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7750
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5622
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5788
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3077
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.