Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Overall implementation, please comment  RSS feed

 
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
Boost this thread!