• 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

Version 2.1.2 Bodgitt and Scarper

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Oyvind
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ...
reply
    Bookmark Topic Watch Topic
  • New Topic