Originally posted by rehans oberoi:
hi azbel
congratulation.
can u tell us how to prepare for scjd assignment.
what are the initial steps for preparing.
which book should i read.
please reply ,
give your valuable advice , how to study in a planned way
Originally posted by Seb Mathe:
That's what I was thinking about... Plus : maintain the existence of an interface. (Your service consumer just needs to know the interface, no ?)
Originally posted by Seb Mathe:
Concerning the Data class, take care that Sun seems to do automated tests on it -> if you leave the lock/unlock method empty, it may result an automatic failure. (Imagine they have a test wich call your Data lock method, then try to deleted the record lock previously... )![]()
Please confirm that you have at least something like "Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface:..."
If so, you'll have to deal with the client Id... (read "Data client" Id)
Originally posted by Seb Mathe:
I think an other solution would be to have 2 implementation of your Service interface : a local one and a remote one...
And if there a lot of redundant code between the 2 classes, you can have an abstract implementation too.
Originally posted by Seb Mathe:
Isn't it said in your assignement that your Data class must implements the provided interface (which, in my assignment, declares the lock & unlock methods).
Originally posted by Seb Mathe:
It's an interesting question... Does your lock method return something like a cookie ?