This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes give some advice on my design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "give some advice on my design" Watch "give some advice on my design" New topic
Author

give some advice on my design

Deedy Dee
Greenhorn

Joined: Mar 20, 2002
Posts: 13
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.


-deedy
 
GeeCON Prague 2014
 
subject: give some advice on my design