Boy do I need some help....
Need some help with pseudocode here. How does the GUI client get the local or remote database connection? Does it get the connection thru a factory? If that's the case it seems like the factory must return an interface back to the GUI client. That interface must be common to both the local database connection as well as the remote database connection. Since DBAccess can't be modified I don't see how you can do that becuase you need an interface to extend Remote if you plan on using RMI.
Or does the GUI client maintain two different instance variables one for a local database connection and the other for a remote database connection....and it knows which one to reference to get the actual database operation to be performed based upon how it was started or launched.
HELP!!!