wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Change booking information? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Change booking information?" Watch "Change booking information?" New topic
Author

Change booking information?

David Pantale
Ranch Hand

Joined: Mar 16, 2010
Posts: 32
Hi,

I'm doing the Bodgitt Scarper application. The instructions state that a user must be able to "book a selected record." It says nothing about allowing a user to change the booking after doing the first update. What is the general consensus here? Does everyone allow changes after the first update or do you prohibit further changes?

Thanks
Dave
David Byron
Rancher

Joined: Jan 20, 2009
Posts: 172

Based on the principle of staying within the stated requirements, I made booking a one-way trip.


SCJD 6, OCPJP7, Baroque Potion, G+
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2266
    
    3

Howdy, Davids!

David Pantale wrote:It says nothing about allowing a user to change the booking after doing the first update.


Then you don't have to implement it!

David Byron wrote:Based on the principle of staying within the stated requirements, I made booking a one-way trip.


That's the spirit!


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5454
    
  13

I don't know a lot about the B&S assignment (I had the URLyBird one), but in my assignment a room that has been booked, can not be booked by another client, because that would result in double bookings and if 2 people have booked the same room on the same night they will not be amused. I introduced a business exception to indicate that the room was already booked.


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change booking information?