• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Overall implementation, please comment

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic