• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Data Client requirement

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've some doubt about the data client's requirement.
"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"
In this case, should the client be able to call all the public method of Data class either through an interace or directly?
I find this not a good way of doing it as the client can do whatever he wants to.
I was thinking if it is possible for me to construct a class that provide basic function that a Client requires and the class will have same public methods as the suncertify.db.Data class.
Then, the client will use the interface that this new class implements to work on the results.
Is it compulsory that I must stick to the requirement of the assignment?
Or have I misunderstood it?
Thanks for any advice.
Cheers.
Han Ming
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stick to the requirements. One purpose of them is to deliberately put you a situation that is not ideal. The question then is, how will you handle it.
There are no "wrong" answers to dealing with awkward requirements -- other than solutions that don't work -- but the exam is designed to force trade-offs on the candidate, so they must then identify the strengths and weaknesses of their solutions.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Michael,
Thanks so much for the reply.
I think I got your message and will stick to the requirement.
Cheers and a Happy New Year to you.


Han Ming
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic