• 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

How many different flight bookings per invocation?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, my name is Eric and I live in Maryland on the US East Coast. I am very strong in the GUI area but admittedly weak in distributed computing and RMI.
I started off writing the GUI (playing to my strengths as it were). I have a simple question, though:

The user must be able to book one or more seats on a chosen flight. If the flight cannot provide those seats, the user must be informed. It is not necessary to provide for live updates on multiple clients when new bookings are made at other clients.


Currently my user would do a search using departing and arriving airports, which populates my JTable, and when selecting a given row, is able to enter the number of seats and press my reserve seats button (the text field and button are disabled until a flight is selected).
Anyone else take my approach (some number of seats reserved for one flight) or generally do you folks permit reserving different numbers of seats on many different flights in a single invocation (button press, rmi call, etc) ?
Thanks a lot !
Eric
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Eric Blische:
Hi, my name is Eric and I live in Maryland on the US East Coast. I am very strong in the GUI area but admittedly weak in distributed computing and RMI.
I started off writing the GUI (playing to my strengths as it were). I have a simple question, though:

Currently my user would do a search using departing and arriving airports, which populates my JTable, and when selecting a given row, is able to enter the number of seats and press my reserve seats button (the text field and button are disabled until a flight is selected).
Anyone else take my approach (some number of seats reserved for one flight) or generally do you folks permit reserving different numbers of seats on many different flights in a single invocation (button press, rmi call, etc) ?
Thanks a lot !
Eric


Hi Eric,
welcome to the board. Generally, most everyone I know takes your approach. After all, flights really aren't like other services, where people mix and match: most people only buy a single destination at a time, even as they might buy more then a single ticket.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic