473,406 Members | 2,619 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,406 software developers and data experts.

remoting and referenced objects

Hi All,

I have a problem with referenced data updates using Remoting.
I can access and update all data obtained from a server's existing
object from any client. However, client can only see their own updates
unless "Built-in" variables are used.

For instance:

I have a server object with a method to change the objects version
number called "Task". Task objects also have an ArrayList full of
"Communication" objects.

1. From any client I can call the method:

void changeVersion(long b){}

All clients can call this method and they all see the change in value:
the update is successful.

2. However, when I call from any client the method:

changeCommunication(Communication a, Communication b){}
//this method updates "a" and replaces it with "b" or something like it

A. With this call, the local client can see the update and this update
remains with the client until shut down.
B. None of the other clients see this update
C. The server does inform me of a call to that server method.

Any ideas?
Thanks a lot,
Rogier.

Jul 21 '05 #1
1 1107
Sorry lads, but I've found the solution. I had forgotten to make ALL
remote objects derived from MarshalByRefObject... I've been at this for
a week, write my first message about this and solve it 30 minutes later
;-)

Any other advise about this is welcome though!

Thanks.

Jul 21 '05 #2

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

Similar topics

15
by: anders | last post by:
Hi! I have a config file that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall"...
2
by: Ahmet AKGUN | last post by:
Hi All; In an application, I have lots of dummy forms without db connection and one server that have connection pooling. Client forms will be used by tens of users. Dummy forms connect to the...
8
by: Richard Bell | last post by:
I have a class in a seperate dll which I want to remote. I have referenced the class and registered it using a simple exe. I can connect to the class's interface using Activator.GetObject and call...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
1
by: Rogier | last post by:
Hi All, I have a problem with referenced data updates using Remoting. I can access and update all data obtained from a server's existing object from any client. However, client can only see...
1
by: Joe | last post by:
Question 1.) Since xml web service interface can be obtained directly by wsdl, but ..net remoting need to have the dll (interface) and then take reference to the solution, right? 2.) remoting...
2
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton /...
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),...
3
by: JB | last post by:
Hi All, I've discovered a strange behaviour with Object parameters passed ByVal via remoting and I'm wondering if anybody could shed some light on this. In a non remoting function call, when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.