This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I've been working on the remote side of my FBN application. I've decided to use RMI. I've come up with the following classes and interfaces: class Data class LocalDataAccess implements DataClient class RemoteDataAccessImpl extends UnicastRemoteObject implements RemoteDataAccess class FBNServer interface RemoteDataAccess extends Remote, DataClient interface DataClient (contains most of the metods from Data) I'm not sure that the name LocalDataAccess is good for that class since that class is essentially used by the remote access as well. I actually think it is an Adapter, but I'm not sure how the Adapter pattern works. My idea is that regardless of what connection(local or network) the user has chosen to run the application in, my Model will work with a DataClient object to retrieve/pass data to and from the database. Please, give me some feedback on my choice of classes. Have I made it more complicated than necessary or am I on the right track? If anyone knows a good source on-line for Adapter patterns, feel free to drop it. I appreciate all feedback /Laura