File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Version 2.1.2 Bodgitt and Scarper Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Version 2.1.2 Bodgitt and Scarper" Watch "Version 2.1.2 Bodgitt and Scarper" New topic

Version 2.1.2 Bodgitt and Scarper

Jakub Drzazga
Ranch Hand

Joined: Nov 14, 2008
Posts: 41
I have doubts about my Project. Is it true that the only things what must be in GUI are :
View all records
View specified (by name and/or location fields)
Booking selected contractors
Is it everything else I must do? Does adding record or even unbooking is necessary?? Please help me.
Jeffry Kristianto Yanuar
Ranch Hand

Joined: Oct 01, 2007
Posts: 759
It is not necessary, but you must implement the interface given in your assignment. You don't need to put it in your GUI if it doesn't required in your assigment.

In my URLyBird assigment, I put only two buttons, a book button and a search button.

Hope that will help you.

Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2) --> Waiting for the result
Tom Doyle

Joined: Apr 23, 2002
Posts: 9
Even though the GUI that is required for us to implement is quite limited, I agree with Jeffry that we need to implement all the methods of the documented interface. This would include methods such as record creation which would not be leveraged by our GUI.

Part of the exam is to assess our skills as OO designers. OO frequently targets implementation of functionality for future envisioned requirements or reuse in a different application. For example the current exam is to produce a GUI suitable for CSRs -- some objects we develop could be reused by the B&S Marketing Department in the future.

Best regards<br />Tom<br /> <br />SCJP4<br />SCJD6 (B&S in progress)
Oyvind Gjare

Joined: Dec 01, 2008
Posts: 6
Hi guys,

I can't say that I agree with this. I think that in a real world scenario it would be a bad idea to try and guess what future needs will be. So if I had to implement this interface for the company I work for, I would just throw an exception when the methods that are not supported are called. This is nothing unusual even within standard implementation of e.g. JDBC or EJB interfaces.
But, this is not real life and I will probably implement all methods. But I think you would get away with only implementing the needed methods, as long as you explain explicitly why you did so.

mohini lalwani

Joined: Nov 24, 2008
Posts: 25
should I keep deleted flag inside my Contractor object .
What is meaning of
[B]"1 byte "deleted" flag. 0 implies valid record, 1 implies deleted record "[/B.It is written in Data Section of Data File Format in Sun Instruction

I define these fields in Contractor Object .

private int recordNumber;
private String subcontractorName = "";
private String city = "";
private String typesOfWorkPerformed = "";
private int numberOfStaffInOrganization;
private int hourlyRate;
private long cutomerId;

does my contractor object has enough field ??

where to define deleted flag ?

Please give your inputs ...
I agree. Here's the link:
subject: Version 2.1.2 Bodgitt and Scarper
It's not a secret anymore!