wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Please advice regarding my design. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Please advice regarding my design." Watch "Please advice regarding my design." New topic
Author

Please advice regarding my design.

jay denzel
Ranch Hand

Joined: Sep 18, 2002
Posts: 57
Hi,
I just started with my assignment and would like
your opinion on my overall design before I start
the implementation.
I figured out something like this to solve the
implementation.
I have a class called FBNDatabaseImpl which implements
the FBNDatabaseRemote interface, this interface extends
Remote and DataClient which contains all public methods
of the Data class. I have a DataWrapper class which implements
the DataClient interface and holds a reference to the Data class.
My ConnectionFactory class returns either a DataClient instance
(remote) or a DataWrapper class (local) depending on the
chosen connection mode by the user.
But where to implement the locking, directly in the Data class?
I am not sure?
Thanks for your comments in advance.
Best of luck...
Jay Denzel
SCJP2
 
Don't get me started about those stupid light bulbs.
 
subject: Please advice regarding my design.
 
Similar Threads
Final review. Planning to submit this weekend. Please comment.
my design choice
FBN Design
MVC Implementaion!
Naming.Lookup and Rebind