Synchronization of client and server objects

I have architectural question.

At server side we have .Net web service, at client side we have java desktop application.

Issue is that we have an object (large object), let say ObjectA, on client side and its copy on server side. We get ObjectA by calling web service.

Now we need these two object synchronized all the time.

I need a clean and smart solution for this.

Thanks.

[414 byte] By [Vladica_Ognjanovica] at [2007-11-27 10:41:49]
# 1

You're going to have to develop some sort of protocol between the server and the client. You would need to send small amounts of data back and forth between the server and the client telling each other what they are up to. You don't need to keep transferring ObjectA back and forth, just transfer the changes made.

kmangolda at 2007-7-28 19:14:52 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

There are solutions for database synchronization, is there a solution for object synchronization, that is my real question.

Thanks for reply.

Vladica_Ognjanovica at 2007-7-28 19:14:52 > top of Java-index,Other Topics,Patterns & OO Design...
# 3

> Now we need these two object synchronized all the

> time.

Simple - it is impossible.

Now if you want to relax the requirements or actually define them then it might be possible.

jschella at 2007-7-28 19:14:52 > top of Java-index,Other Topics,Patterns & OO Design...
# 4

> I have architectural question.

1. This is not an architectural question.

> At server side we have .Net web service, at client

> side we have java desktop application.

2. A .NET Web Service hosted on a server.

3. A Java application on a desktop computer.

> Issue is that we have an object (large object), let

> say ObjectA, on client side and its copy on server

> side.

4. Is ObjectA a Java object?

5. Is the copy on the server a Java object? If yes, please explain. If no, what type of object is on the server?

> We get ObjectA by calling web service.

6. If ObjectA, as you mentioned, is in the Java desktop application, please explain how you get ObjectA by calling the .Net Web service on the server.

> Now we need these two object synchronized all the

> time.

7. What do you mean by "synchronized"? What does "synchronized" mean?

GhostRadioTwoa at 2007-7-28 19:14:52 > top of Java-index,Other Topics,Patterns & OO Design...