Create the six tables shown on the diagram

Assignment Help Computer Engineering
Reference no: EM131984904

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.

Reference no: EM131984904

Questions Cloud

Adjust the balance of public and private power in society : Woodrow Wilson progressive agents of change, who would try to adjust the balance of public and private power in society.
What is the present value of an investment that promises : What is the present value of an investment that promises to pay the following: $240 received at the end of each year for 3 years.
Poetry to playing tennis with the net down : The poet Robert Frost compared writing free verse poetry to playing tennis with the net down. His analogy implies that rules such as rhyme
Make a pro forma model for yummy : Make a pro forma model for Yummy and computer the firm value using a DCF valuation model with year-end discounting.
Create the six tables shown on the diagram : Create the six tables shown on the diagram. Simulate a point of sale (A transaction header is a sale. A transaction item is an item in a sale).
How many periods are there : Suppose a bond with a 10% coupon rate and semiannual coupons, has a face value of $1,000, 20 years to maturity and is selling for $1,197.93.
Do you feel that it is acceptable to use slang : Do you feel that it is acceptable to use slang, colloquialisms, stereotypes, or sexist language in email correspondence at work
Longest period of peacetime economic growth in history : We look back at the legacy and the leadership of Ronald Reagan and use them to provide lessons not only for our national government
What is the after-tax salvage value of the equipment : What is the after-tax salvage value of the equipment at the end of the project's life?

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is the largest value of x

A soft real-time system has four periodic events with periods of 50, 100, 200 and 250 msec each. assume four events require 35, 20, 10 and X msec of CPU time, respectively. What is the largest value of X for which the system is schedulable.

  Explain the characteristics of a high performance team

Listing and define six major SDLC phases and the products of each. Indicate the CASE tools that would be used to support each phase.

  Question construct the huffman code for the java keyword

question construct the huffman code for the java keyword and weights given in the following

  Develop an in-formation system entirely by himself

Explain what are the advantages and disadvantages of having the user develop an in-formation system entirely by himself?

  Define some data are calculated as functions

Some data are calculated as functions. When will you store data in database and when would you use functions? What is the advantage of storing data in database.

  Examine recursive function computation of fibonacci numbers

Examine the recursive function computation of Fibonacci numbers. Note that each Fibonacci number is recomputed many times.

  What difference between private type or limited private type

What is the difference between these two? Is there a similar concept in C++? If not, why not? Does their absence imply a lack of functionality in C++?

  Problem related to the skylights

Skylights or "roof windows" are commonly used in homes and manufacturing facilities since they let natural light in during day time.

  Implement the remaining relational operators

Implement the remaining relational operators. Modify constructor for fraction class that it checks to make sure that numerator and denominator are both integer.

  Create a visual logic file to execute the task

Create a Visual Logic file to execute the task. Obtain approval from your instructor for your chosen task. Send a Private Message to your instructor.

  Choose one of the ubuntu shells and discuss how you can

choose one of the ubuntu shells and discuss how you can perform a minimum of 20 commands or functions. these commands

  What is meant by a convergent iterative calculation

What is meant by a convergent iterative calculation? What kind of loop would you use in program that reads the closing price of a stock for each day of week?

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