Posted: February 20, 2011 22:25 by Obsfucation
I'm very very new to distributed systems, but have reasonable experience in Java so thought it would be the right language to explore it in further. This is what led me to Cajo really- that and a few people who recommend it!
I'm trying to create the most simple example that I can. I am running both the client and the server on the same machine, and am attempting to remotely access an object exported by the server on the client. Unfortunately, my client is never able to find any objects.
I've tried repeatedly to learn from various bits of code on the site, but with the move to the new Java.net I keep hitting dead links, or content I believe may be out-of-date (e.g. using constructors that do not seem to exist).
The code I am trying to use is as follows:
Interface for object being shared-
Object implementing interface-
Please could you give any advice on what I am doing wrong? I know it may be something relatively simple, or that I have misunderstood a concept, so please go easy on me!
If there are any resources you believe I should review, please also feel free to link those instead of replying directly- I am not adverse to reading material, I have just struggled at finding suitable material to help me!
Thanks in advance for any help