Hi, i have searched the web, tried for days to get this to work, but it doesn't. So i really hope someone can help a newbie.
1. A client on a remote machine creates a Person object.
2. The Server needs a reference or something to this object so that it can call methods on it.
How can i implement this? I am a newbie so i hope someone can explain this to me. The thing is that when I run the server and client on the same machine it works just fine, but when i put the client on a different machine it doesn't work.
Also, the client sucseeds in getting the reference from the server an calling a method wich returns a String.
1. A client on a remote machine creates a Person object.
2. The Server needs a reference or something to this object so that it can call methods on it.
How can i implement this? I am a newbie so i hope someone can explain this to me. The thing is that when I run the server and client on the same machine it works just fine, but when i put the client on a different machine it doesn't work.
Also, the client sucseeds in getting the reference from the server an calling a method wich returns a String.