• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple bookings

 
Mandy Bowman
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,

in B&S it is stated that we must allow the user to book a seleced contractor. Question is with a JTable we can select more than 1 line. In this case have you all allowed multilple bookings with a single click or do you only allow one contractor to be booked at one time?
 
Gabriel Vargas
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mandy,

This could be a good thing to book more than one contractor, but requerimets indicates than must do you this? In my case my requeriments don't tell anything about that and I should implement than one contractor at one time can be booked, keeping my project simple.
[ June 21, 2007: Message edited by: Juan Gabriel Vargas Bola´┐Żos ]
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mine is URLyBird assignment says

It must allow the user to book a selected record, updating the database file accordingly.


CSR can select one record at a time from JTable to book hotel room. It is discuss many times here on ranch. You will find many people implemented multiple record booking (additional burden in locking) Also my assignment has cookies and lock(recNo) method takes one record (but you can make changes at server side to accommodate multiple record booking)

You have to implement thin client where booking method will take multiple records to book contractor but if you decide to expose lock-update-unlock you are very much in to single record booking.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic