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

I problem in using .Net Remoting

I used JAVA RMI before, now I have to use .Net Remoting, and I found a
problem

What I want to do is
in Server, new an object, bind this object, and Client can use this
object from remote.

What I found now is.
in Server, Bind an object TYPE[I do not new the object], and Client
should initialize this object.

I am quite confused. In server, I just bind a Type and each Client call
build a new object?
How can I bind an object and client will using the object.

BTW, I am using WellKnownObjectmode.singleton

Thanks,
Fans

Oct 5 '06 #1
2 1203
Will you consider to use Web Service? That could be easier.

chanmm

"fAnSKyer/C# newbie" <fa******@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
>I used JAVA RMI before, now I have to use .Net Remoting, and I found a
problem

What I want to do is
in Server, new an object, bind this object, and Client can use this
object from remote.

What I found now is.
in Server, Bind an object TYPE[I do not new the object], and Client
should initialize this object.

I am quite confused. In server, I just bind a Type and each Client call
build a new object?
How can I bind an object and client will using the object.

BTW, I am using WellKnownObjectmode.singleton

Thanks,
Fans

Oct 6 '06 #2
thanks a lot.
The project I am doing required complicated data transfer, I think web
service may not able. :p

fAnS...

chanmm wrote:
Will you consider to use Web Service? That could be easier.

chanmm

"fAnSKyer/C# newbie" <fa******@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
I used JAVA RMI before, now I have to use .Net Remoting, and I found a
problem

What I want to do is
in Server, new an object, bind this object, and Client can use this
object from remote.

What I found now is.
in Server, Bind an object TYPE[I do not new the object], and Client
should initialize this object.

I am quite confused. In server, I just bind a Type and each Client call
build a new object?
How can I bind an object and client will using the object.

BTW, I am using WellKnownObjectmode.singleton

Thanks,
Fans
Oct 6 '06 #3

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

Similar topics

0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
2
by: Ahmet AKGUN | last post by:
Hi; I am trying to make a server that handles db connection pool. Clients use TcpChannel to make a call to this server and get one database connection (OleDbConnection) from pool. But when I...
0
by: menkaur | last post by:
I was writing simple test program for using class libraries (OS: Windows 2003 Server). The problem I’ve got: runtime error: ------------------------------------------- An unhandled exception of...
3
by: S.Creek | last post by:
Hi, I am trying to build a multi clients application with C# that will send and receive messages using a listener on a server, the computers are all on the same LAN, the listener need to...
4
by: marcelino | last post by:
Hi, I have c# express beta I try to write the following using clause: System.Runtime.Remoting.Channels.Http; because I want to create a http channel. HttpChannel aJobChannel = new...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
7
by: hardieca | last post by:
Hi, Can anyone point me in the right direction for an example on how to use remoting to separate my BLL and DAL onto different tiers? Is there a best-practice pattern or design model for this? ...
1
by: =?Utf-8?B?TUJ1cnNpbGw=?= | last post by:
This works without any problems: Code Snippet string uri = "tcp://localhost:8000/CAOFactory"; cf = (CustomerInterfaces.ICAOFactory)Activator.GetObject(typeof(CustomerInterfaces.ICAOFactory),...
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...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.