wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How many different flight bookings per invocation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "How many different flight bookings per invocation?" Watch "How many different flight bookings per invocation?" New topic
Author

How many different flight bookings per invocation?

Eric Blische
Greenhorn

Joined: Feb 02, 2003
Posts: 16
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
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
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


Java Regular Expressions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How many different flight bookings per invocation?
 
Similar Threads
persistence layer
client tracking
Design Questions
What to do after flight search?
Booking actions