• Post Reply Bookmark Topic Watch Topic
  • New Topic

Overall implementation, please comment  RSS feed

sf chan
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!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!