I'm trying to apply the Factory Pattern to the RMI but is seams that by doing it the getClient() brings a RMIServerImpl to the client. Which seams to be making the database file to be also managed by the client.
What am i doing wrong?
Can this design pattern be implemented in this case, where a file in the server is to be handled?
And if you think about it? If the database is shared among the clients, what would happen with the database file? This file only exists server side...
Hi Roel, could you explain yourself again?
I understand RMI but with the RMI factory design pattern the remote call brings all server implementation and then it opens the file on the client. The idea of having multiple clients where each one has his own database file seams odd to me.
I was more expecting having the client calling methods locally but being run on the server, that is that all clients would share the same database file.
ITIL V3, SCJP, Spring Core v3 and Going for the OCJMD