• 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

give some advice on my design

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am ready for SCJD now. I have some thought on implenting a network db by rmi.
There are four key components on implenting the network db. They are,Data,DataClient,RemoteData,DBClient.
Data has opertions to db.
DataClient hava the same methods as the Data Class.And DataClient has a refence to Data.
The RemoteDataFactory class extends UnicastRemoteObject.It returns a remote reference to a DataClient.
it is looks like a ConnectionFactory.
DBClient intend to ensure it is transparent for client to access db regardless of local or remote
Thoughts/comments/critism welcome.thanks.
 
I will suppress my every urge. But not this shameless plug:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic