I have just bought the master assignment & am currently working on it. Due to the stupid Oct 1st policy changes I'm kind of rushing through the whole assignment
I'm a total newbie and I have a few questions regarding the assignment which I received. (Sorry for my stupid questions )
Assignment : Bodgitt and Scarper LLC
The new application, using the existing data file format, must allow the CSRs to generate a list of contractors that match a customer's criteria.
So its basically going to be a standard search/match/return program, like the CSR receives a phone call (Imaginary) from the customers, according to which he/she does a search on the program & gets the matching results from the .db file which was provided with the master assignment. The CSR interacts with the GUI, then what's the server ?
A data access system that provides record locking and a flexible search mechanism
After CSR gets the search results, what does he do ? How does the customer confirms which contractor he wants to choose ?
And say even if we allow some user input, then how are the records are locked, I mean do we need to create user profiles for each customer storing them somewhere ?
Does the CSR has the power to add new list of contractors to the database ? If so then how does they receive the new list ?
public void updateRecord(long recNo, String data, long lockCookie)
throws RecordNotFoundException, SecurityException;
I have never done anything with Cookie before, so could you guys please tell me what does the Cookie in this case does ? (I know about the browser cookie but idk about java cookie)
And the .db file says it has a Magic Cookie number, what is it anyways ?
The program must allow the user to specify the location of the database in both standalone and network mode and persist the db configuration details in suncertify.properties file.
I didn't understand what does the suncertify.properties file do anyways ? Is it going to be a .txt file or a class file or what ?
You have a choice regarding the network connection protocol. You must use either serialized objects over a simple socket connection, or RMI. Both options are equally acceptable. Keep in mind that networking must be entirely bypassed in the non-networked mode.
I didn't understand this part, will the server be a different class running on a separate JVM or hosted on any high-end protocol or in any non-standard ports ?
Your server must be capable of handling multiple concurrent requests
Any attempt to lock a resource that is already locked should cause the current thread to give up the CPU, consuming no CPU cycles until the desired resource becomes available.
So this means that the program must be able to run in multiple instances and access the same data file ?
Well for the CPU cycles, its just standard threading approach right ? Or is there any specific CPU related class or something which am not aware of ?
In addition to the submission, you will be required to take a written examination.
What does this essay exam tests anyways ? Can anyone tell me what kind of questions are asked on this exam.
I'm asking questions here cause I have emailed Oracle a few times, but they take forever to reply.
I hope I get my answers here quickly
I appreciate you are in a rush to get the assignment completed. But I'm not sure if you will get the response that you were hoping for with this post.
Here is some advice that may help you. Firstly you need to use real name.
Once get your name sorted then I would suggest two things regards your questions. For every question that you have it there is a high chance that it has been asked before on the forum - so search the forum first. Then if you still cannot find the answer you should create a separate thread for each of your individual questions.
Hope this helps, and good luck!