Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Lab Assignment- JDBC

This is your fourth laboratory work submission. The Module Learning Outcomes 4-7 will be tested. You are expected to develop a database and a program as outlined below, demonstrate the program during laboratory hours, answer questions, and submit the code electronically.

To submit the Coursework, you need to attend the relevant laboratory sessions and develop the program during laboratory work.

The Task

You will need to develop a JavaFX Application which connects to a Database and makes use of the JDBC API.

The Scenario

See the ERD diagram given in Figure 1. The ERD is for a shopping mall having multiple shops (each shop is a company), employees are linked to a company through the foreign key. This is currently being used in a real scenario so that the shopping mall owner can run statistical reports across all companies.

You are asked to create a Point Of Sale system. The application should be JavaFX based. For database you can use your choice of RDMS (e.g. Java DB, MySQL etc.). The application should have the following functionalities:

1. Create the six tables shown on the diagram. 2. Simulate a point of sale (A transaction header is a sale. A transaction item is an item in a sale). The flow of a sale is as follows: a. Employee enters his id and start transaction b. Employee adds a Product ID. The system will pick the product price according to the effective date. c. Employee will add the quantity. d. System will calculate the sub total. e. System will loop until employee exits (may or may not start new transaction. f. Calculate total g. Transaction header and items are created (you should identify what fields go into this, e.g. customer details, product details, price etc.). h. Record the transaction.

When creating sale you can use SQL Transaction, commit and rollback.
What to submit:
Submit the Java source code and all SQL scripts by end of teaching week 20.
Demonstration: During the session of Week 20.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92822556

Have any Question?


Related Questions in Computer Engineering

Question 1 designing team and team identityusing the

Question: 1. Designing Team and Team Identity. Using the Internet, team should read at least 5 academically reviewed articles on designing. 2. Please do not change the wording of the original summary. Include the team me ...

Question suppose a class car is a child of a class vehicle

Question : Suppose a class Car is a child of a class Vehicle. Suppose Vehicle and Car have methods Move(). Method Move() of the class Car calls method Move() of the class Vehicle(). Write the statement in Move() of the c ...

Scenarioconsider the following situation your local grocery

Scenario Consider the following situation. Your local grocery store ran a contest where the contest winner was allowed to fill his/her car with however many groceries the winner could take home, at no cost to the contest ...

You were recently hired as a database administrator for

You were recently hired as a database administrator for CSU-Global Campus. During grade reporting, CSG-Global cannot afford to have any downtime. You have been asked to develop a plan for monitoring SQL Server databases. ...

Discuss the importance of metadata and some of the various

Discuss the importance of metadata and some of the various ways (Microsoft) SQL Server allows you to expose that information. References welcomed to learn where to find obscure IT information (books, articles, websites)

Analytic reportpurpose the purpose of this task is to

Analytic Report: Purpose: The purpose of this task is to provide students with practical experience in working in teams to write a Data Analytical report to provide useful insights, pattern and trends in the chosen/given ...

Tetrafluoromethane cf4 is a greenhouse gas synthesized by a

Tetrafluoromethane (CF 4 ) is a greenhouse gas synthesized by a violently explosive reaction between methane and fluorine. In joules, what is the average kinetic energy of a molecule of CF 4  at 57.2°C and 0.0010 atm?

Suppose you are given a six-sided die that might be biased

Suppose you are given a six-sided die, that might be biased in an unknown way. Explain how to use die rolls to generate unbiased coin flips, and determine the expected number of die rolls until a coin flip is generated. ...

An important decision places christmas holiday celebrators

An important decision places Christmas holiday celebrators: To buy real or artificial trees? A market research firm reported that 62% of individuals polled preferred an artificial tree. We conduct independent serving of ...

In the on the spot system package pickup and deliv- ery are

In the On the Spot system, package pickup and deliv- ery are closely integrated with route schedules. How- ever, recall the RMO system, where there is a Sales subsystem, an Order fulfillment subsystem, a Cus- tomer accou ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As