This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: give some advice on my design
 
Similar Threads
FBN: Data Client Constructor
RMI implementation
remote design
Confused about location of database in local and remote mode
FBN Design Doubts Please Help!!