• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Data Client - Clarification

 
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
 
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
 
expectation is the root of all heartache - shakespeare. tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic