Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

multiple bookings

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?
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 ]
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.
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic