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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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