Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2005

Tip: Looking for answers? Try searching our database.

Ticket examples in java code

Thread view: 
curranjames90@hotmail.com - 20 Jan 2005 00:10 GMT
Looking for somewhere to start in this problem I got! dont know where
to start. The problem is

"TicketTouts" sells tickets for all sorts of events, including
concerts, theatres and sporting events. They want to install a computer
system which will allow people to buy tickets online. Before they do
this, they want to build a prototype Java program, which will allow
them to see how the system might work.
In the prototype, a user should be able to interact with the system,
inspecting a list of all events, and requesting further details for any
selected event. The events may be hard-coded into the program. The user
should be able to select tickets to buy, adding them to a portfolio.
The user should also be able to delete tickets from their portfolio.
Finally, the user should be able to confirm the purchase of all tickets
currently in their portfolio (and see a list of purchases displayed on
screen), or should be able to quit without buying.
Each concert ticket has an artiste/band name, a location, a date and a
price. Each theatre ticket has a name of the play, a theatre name, the
name of the leading actor, a date, a time and a price. Each sporting
event has a name, the type of sport, the stadium, a date and a price.

A Sample Scenario
The program starts and displays a welcome message to the user. The
users asks to see the list of all tickets. The user asks to see a
details of ticket number 4 (U2, Phoenix Park, 23/06/05, Euro50). The
user decides to take one. The user asks to see the list again, then
asks for details of number 3, but then decides not to buy. The users
asks to see the list again, asks for number 6 (Cork City vs Shelbourne,
soccer, Turner's Cross, 24/06/05, Euro 17), and decides to take one.
The user then asks to see their portfolio, and decides to delete the U2
ticket. The users then decides to confirm the purchase of the remaining
tickets in the portfolio, the system displays them, and quits.
cheers
Andrew Thompson - 20 Jan 2005 09:02 GMT
> Looking for somewhere to start in this problem I got! dont know where
> to start.

<http://www.physci.org/codes/javafaq.jsp#start>

[ Follow-ups set to c.l.j.programmer ]

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.