Roel De Nijs wrote:
Hi Roel,
I saw this implementation of the RMI framework earlier in January. I was very puzzled by this code snippet, especially now that I've finished my own implementation. My implementation looks something like the following:
I used "rmic" to create the stub, BusinessService_Stub.class, in the same directory. I look at the tangle of interfaces in your code snippet, and I wonder if I missed an important concept in my implementation. I have the client-server communication established and working, but the implementation is very simple. What am I missing?
MVC gui <-> Client.class <-> [NETWORK] <-> BusinessService.class <-> Data.class <-> Database { client-server }
MVC gui <-> Client.class <-> BusinessService.class <-> Data.class <-> Database { stand alone }
I use the same BusinessService class for stand alone and for client-server. In stand alone mode, I'm not doing any networking.
Best regards,
Harry Henriques