This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overall implementation, please comment

 
sf chan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my overall implementation -
DataInterface has all the Data method throws RemoteException
Data class implements DataInterface (for all db.db access), implements the criteriaFind method, 1 db file will refer to one data class (reference kept in a HashMap)
Client side with one DataFactory to return either Data for local access or DataProxy for remote access.
DataProxy (extends unicastobj, implement datainterface) query the DataSessionFactory to get a DataSession which generate a unique Connection for each client and has reference to Data class and lock manager class (one data class has one lock manager class).
Is it okay? Any comment is welcome, Thanks!
wanders
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic