473,387 Members | 1,757 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.

Remoting.....via CAOs

Sorry about putting this in the wrong news group,
but qustions seem to get answered here.

Okay, so here goes the q:
I want to use CAO in remoting to comunicate with a
server program. I know if I use a singleton SAO, I can
keep track of the object, and alow the server to put
data in that class. How would I keep track of CAOs from
the server. How would the server program even know
when a client created a CAO? and how would I get a
reference to it?

I dont know if I have decribed the problem well enough,
or if the following would help ppl understand:
Basicaly take that well known client chat program,
now instead of a singleton SAO obj, make it a CAO
and have all of the clients "chatting" with eachother
as before.

Thanks in advance for any and all help.

Jan 21 '06 #1
1 1075
HA! :)
Figured it out..... Use a remoting pattern called a factory.
Create a serverside singleton to create the client activated
objects. (via a function in the SAO) Pass the "shared" class
to the CAO (I did it via constructor), thus the the clients can
share info, and clients can have their own data aswell.

Thanks for all thoughts on the matter.
Please feel free to add any comments to this idea.
(eg: "bad idea... ohh... Never do that")

"TheMadHatter" wrote:
Sorry about putting this in the wrong news group,
but qustions seem to get answered here.

Okay, so here goes the q:
I want to use CAO in remoting to comunicate with a
server program. I know if I use a singleton SAO, I can
keep track of the object, and alow the server to put
data in that class. How would I keep track of CAOs from
the server. How would the server program even know
when a client created a CAO? and how would I get a
reference to it?

I dont know if I have decribed the problem well enough,
or if the following would help ppl understand:
Basicaly take that well known client chat program,
now instead of a singleton SAO obj, make it a CAO
and have all of the clients "chatting" with eachother
as before.

Thanks in advance for any and all help.

Jan 24 '06 #2

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

Similar topics

0
by: Henrik Nordgren | last post by:
I have written some previous remotings using both singlecall and singleton CAOs. And for every project I always defined an interface between the client and the server, the implementation resided in...
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...
2
by: jabailo | last post by:
Is the connection between a Remoting Client and a Remoting Server considered connection-bound or connectionless? ....even if it runs on http?
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...
6
by: Z D | last post by:
Hello, Is it true that I need to push the DLL for my entire class if I wish to use CAO remoting??? Can't I just use an Interface to the class on the client side and instantiate the object in...
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...
8
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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...

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.