Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

give some advice on my design

Deedy Dee
Posts: 13
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic