Prepare a java project on magician agent

Assignment Help JAVA Programming
Reference no: EM13886102

Prepare a java project on Magician Agent.

Magician Agent Initial Phase

Your neighbor has a business representing Magicians. She would like to run her business on her computer and has asked you to develop a program that will allow her to track what Magicians are booked for which Customers for specific Holidays. This application should have a very nice GUI interface and will be a database driven application. The database used will be Derby. This application must use good Object-Oriented Design and Programming. The database must use good Object-Oriented Design and Programming. There is a very close correlation between Object-Oriented Design and Database Design. Your application design should include at least four classes besides the main GUI class, e.g. Magician class, Holiday class..., etc. Your database accesses should be in the classes that correlate with the database tables.

This assignment is the first half of the final project and will be submitted as Programming Assignment 6. This phase of the project will implement the following user commands:

Book Customer Holiday

The customer will be assigned a magician for the requested holiday, if one is available. If one is not available, the customer will be put on a wait list for that holiday. The waiting list must be maintained in the order the customers where placed on the list. The magicians can be assigned in any order.

Status Holiday or Magician or Waiting List

The Status command for holiday will display the customers and their respective magicians for the requested holiday. The Status command for magician will display the customers and the holiday for the requested magician. The Status command for waiting list will display the waiting list of customers and the holiday for which they are waiting.

Database considerations:

The Magician Table should be preloaded with several magicians such as Merlin, Houdini, and Gandalf.

The Holiday Table should be preloaded with several holidays such as New Years, Halloween, and 4th of July.

The database tables should not contain redundant data, i.e. relevant data should only appear in one table except for foreign key fields.

GUI Guidelines:

The user should be required to enter only unknown data. Drop down lists of known data such as Magician names or Holiday names should be displayed for the user to select from. Group Boxes should be used to categorize data on the form. When information is requested to be displayed e.g. for a Status command, all of the requested information must be displayed. When a command is performed, the results of that
command should be displayed to the user without the user needing to check Status to see what was done.

Magician Agent Final Phase

Your neighbor has a business representing Magicians. She would like to run her business on her computer and has asked you to develop a program that will allow her to track what Magicians are booked for which Customers for specific Holidays. This application should have a very nice GUI interface and will be a database driven application. The database used will be Derby. This application must use good Object-Oriented Design and Programming. The database must use good Object-Oriented Design and Programming. There is a very close correlation between Object-Oriented Design and Database Design. Your application design should include at least four classes besides the main GUI class, e.g. Magician class, Holiday class..., etc. Your database accesses should be in the classes that correlate with the database tables not the GUI class.

This assignment is the final half of the project. The final project is a continuation of Programming Assignment 6. This phase of the project will additionally implement the following user commands:

Add Magician

When a new magician is added, the waiting list must be searched to see if any waiting customers can be scheduled. Any customers booked must be reported to the user.

Drop Magician

The Drop command must remove a magician from the application. Any customers the magician has booked must be rebooked with another magician if possible. If the customer can not be rebooked, the customer must be put on the front of the waiting list so they will have the first opportunity to be rebooked.

Cancel Customer Holiday

The booked entry for that Customer and that Holiday must be removed from the magicians bookings or the waiting list. If the booked entry is removed from a Magicians bookings, the waiting list must be checked to determine if another customer can be booked with that magician for that holiday.

Add Holiday

Add a new Holiday to the system.

Database considerations:

The Magician and Holiday Tables no longer need to be preloaded with values. When submitted, all database tables should be empty.

The database tables should not contain redundant data, i.e. relevant data should only appear in one table except for foreign key fields.

GUI Guidelines:

The user should be required to enter only unknown data. Drop down lists of known data such as Magician names or Holiday names should be displayed for the user to select from. Group Boxes should be used to categorize data on the form. When information is requested to be displayed e.g. for a Status command, all of the requested information must be displayed. When a command is performed, the results of that command should be displayed to the user without the user needing to check Status to see what was done.

Reference no: EM13886102

Questions Cloud

Design a customized business process management : Prepare a case study on Providing High Quality Services in Air Conditioner Industry by Business Process Management.Design a customized business process management framework for collecting primary data from the service department of consumer air condi..
Find the associated stream function or potential function : Show that the difference of the stream functions between two streamlines is the ?ow rate q per unit depth between the two streamlines, i.e., q ¼ c2 - c1.
Plot the i-v and p-v curves of the panel : Plot the I-V and P-V curves of the panel, An ideal PV panel model can be used to understand the operation of the P&O method. Let the panel parameters be n=1, T=300K, IL=3A, and Io=10-10A.
Prepare a java project on magician agent : Your neighbor has business representing Magicians. She would like to run her business on her computer. Prepare a java project on Magician Agent.
Despite the many benefits of the electronic health record : Despite the many benefits of the electronic health record (EHR), there are still many who are resisting its implementation. Why do you think this is and what can be done to overcome their apprehension? Also, what are the costs (financial or otherwise..
Define and discuss the labor relations process : Define and discuss the labor relations process.
Find takeoff speed for aircraft with conventional airfoils : Estimate the takeoff speed for an aircraft with conventional airfoils if the aircraft with payload weighs 120 000 N and the effective wing area is 20 m2 assuming a temperature of (a) 30-C, (b) 10-C, and (c) 220-C. An angle of attack at takeoff of ..
Developed a revolutionary 3d television : 3D-Magic is a new company that has developed a revolutionary 3D television. It uses a new technology that provides a much sharper and realistic 3D experience than their competitors. The company is based in the United States. The company's top managem..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Class to initialize values

Create a constructor that allows a user of the class to initialize values. Also create a method named SetJustSold()(Hint ++) that increments the number of hot dogs the stand has sold by one and should also increase the TotalSold by one

  1 introductionin order to debug an application it is

1 introductionin order to debug an application it is sometimes useful to know where a given object comes from or where

  Information management with computing machines

1. The members of the first professional group devoted to information management with computing machines were known as:

  Demonstrating your understanding of java collections

Design, write and test the Java program ReadStoreShow.java with the following requirements:

  Create a class rectangle with attributes length and width

Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle's perimeter and area

  Write an application bmicalc

Write an application (BMICalc) that reads the user's weight in poinds and height in inches, then calculates the Body Mass Index.

  A listener for the click events of a button

What happens if you fail to register an object as a listener for the click events of a button?

  Write a program that creates a two-dimensional array

Write a program that creates a two-dimensional (2D) array initialized with test data (for instance, use Random method to prepare an array of integers).

  Design and implement an applet that plays a simple game

Design and implement an Applet that plays a simple game to help teach a child to read. The game displays a picture on the left hand side of the Applet and a word on the right hand side. Below the pictures are two buttons for the child to click--on..

  Creates pet objects from data read from the keyboard

The assignment is to write a program that creates Pet objects from data read from the keyboard. Store these objects into an instance of ArrayList.

  Developing a java application

You have been requested to develop a Java application for the local library as part of an upgrade initiative. As in all libraries, this is a place where one can check out books

  Difference between the two following statements

What exactly is the difference between the two following statements and which is preferred, please provide details: 1) frame.setSize(400, 300); // Set JFrame Size

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd