Hi Ranchers In which package should the LocalDataAccess and RemoteDataAccess classes should reside. I think FBNLocalDataAccess should remain in client package while FBNRemoteDataAccess should be in server package Pls comment Amit
This is an interesting question. In mine both of these where in the db package. But after much thought I think it should be otherwise. So maybe the Local should be in client and the Remote in the server package. What does everyone else think? Mark
I'm curious to see what everyone thinks about this. Assuming the DataAccess item here is the interface with all the public methods of Data, I'd say put its derivatives in db. My server package (thusfar) is just the Factory and LockManager.
I have: - db: Sun's classes + LockManager + other utility classes - db.net: My database server classes -> ConnectionFactory + Connection + launcher + other utils - db.driver: My database client classes -> DataAccess + DataAccessLocal + DataAccessRemote + utils I like to keep the number of classes per package short
I thought about this again last night, and I am back to them being in the db package. They are about db. Mark
Joined: Nov 22, 2008
Been noodling about this as well. Even the remote flavor of Data interface has little to do with the act of serving up something. Do you think that the connection factory is the only resident of the server package?