• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data Client - Clarification

 
Rajesh Matti
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends-
Specs says "To connect with your server, you should create a client program. This implementation should include a class that implements the same public methods as the
suncertify.db.Data class, although it will need different constructors to allow it to support the
network configuration."
What I did:
I do not have a seperate dataclient wrapping the data (local or remote). All I have is an interface which I return from a ConnectionFactory based on the mode/hostname/port etc. But ConnectionFactory as such does not implement any methods of suncertify.db.Data class as mentioned in the specs. I personally feel that this is perfectly fine, but I had mentioned before, I do not want to deviate too much from the experts in this forum as the specs also mentions that each candidate's workload should be comparable.
Please comment.
Thanks,
-Rajesh
 
Amund Frislie
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shouldn't be a problem as long as your interface declares the db.Data methods.
(Your ConnectionFactory should only provide instances of "connection classes" anyway...)
Amund
[ February 26, 2002: Message edited by: Amund Frislie ]
[ February 26, 2002: Message edited by: Amund Frislie ]
 
Rajesh Matti
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Amund. I appreciate it.
-Rajesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic