Problem statement
The aim of this project is the development of a sample centralized relational Music store application. This application has to store information of customers and artists with their products. In this context the functionality is to update, remove and insert records for the different entities. The database is built for the clerks and the managers from a Music store. Customers are ordering by phone or by email. The clerk of the databases must be able to fulfill the wishes of the customer. These wishes include finding the right album and ordering this album.
The Core functionality is:
• Add, delete and update Customer information
• Add, delete, and update information about the album, artists and songs.
• Insert new and change a customer order. A customer order exists out of the customer information and the product information’s.
This documentation describes the development of this project and it includes: Architecture (the structure of the database), Implementation approach (the main parts: Database, Application and GUI), Functionality design (the structure of the program), GUI (Explanation and test scenarios), Technologies, Literature and Appendix.
ER diagram
The Entity Relationship Diagram (Figure 1) describes the entities Customer, Product, Artist, Track and Customerorder. Each entity has a primary key (underlined in Figure 1). A product (album) has the media type CD, DVD, Tape or Records and consists out of tracks (songs). The attributes of each entity are given in a circle with the primary keys underlined. The relationships such as orders, lists, produces and media tracks connect the entities in a structured and simple manner.
TABLES MAPPING
This definition is the base for creating the tables in the database. In general it gives the same information as the ERD but in a more specific way.
SQL STATEMENTS
The creation of the tables is made by using the query language SQL. Two examples of the code are included below:
CREATE TABLE TRACK ( TRACKTITLE VARCHAR(100), LENGTH
INTEGER, |
CREATE TABLE CUSTOMER ( CUSTOMERID SERIAL, ZIP VARCHAR(30), |
The application is implemented in Java. JDBC is used to connect to the database and to obtain the associated information. As an example the code to connect to the database is given in Figure 4. JDBC is also used to call SQL queries into the java code. This makes possible to access the database and create, update or view the data stored. Further explanation are provided in section related to the Functionality design.
try{
Class.forName("com.mysql.jdbc.Driver");
myConnection=DriverManager.getConnection(
"jdbc:mysql://123.156.5.73/dbpc-t6","username", "password"
); }
catch(Exception e){
System.out.println("Failed to get connection");
e.printStackTrace();
} }
SCREENSHOTS
CONCLUSION
As stated in the introduction the minimum target at the beginning of this project was to show the core functionalities in a user friendly GUI. During the implementation the team reached their limits and succeeded in replacing these limits several times. This section will illustrate what the team reached and which problems occurred during the project. It will describe where the planning was realistic and will also give recommendations for similar or further projects.
The core functionality was reached in the following parts. It is possible to insert a new customer, change the details of a customer and delete a customer. Also the product part is implemented in the same way. A new product can be inserted, changed and deleted. Furthermore the order section is completely implemented. It is possible to fill in one order for several products. This order also can be changed and deleted.
REFRENCES
Afsarmanesh, H., Benabdelkader, A. and Hertzberger, L.O. (1998), A Flexible Approach to Information Sharing in Water Industries. In Proceedings of the International Conference On Information Technology, CIT'98, pages 135-142, Bhubaneswar, India, December 1998.
Arlow, Jim and Ila Neustadt (2002), UML and the Unified Process, Addison Wesley
Deitel and Deitel (2002), Java How to Program, 4th Ed, Prentice Hall
Deitel and Deitel (2002), Advanced Java How to program, Prentice Hall - Advanced Java 2
Platform (Deitel, JDK 1.3, J2EE 1.2).
Frenkel, A., Afsarmanesh, H., Garita, C. and Hertzberger, L.O. (2000), Supporting
information access rights and visibility levels in virtual enterprises...
Horstmann, Cay and Cornell, Gary, (2004), Core Java(TM) 2, Volume II--Advanced Features
(7th Edition).
Guevara-Masis, V., Afsarmanesh, H. and Hertzberger, L.O. (2004), Ontology-based automatic
data structure generation for collaborative networks
Silberschatz, Korth, and Sudarshan, (2002), Database System Concepts, 4th ed: McGraw-
Hill.
Database Management Sub-System Project SYou need to submit a project that represents a database m...
Your project will require you to develop a database design to
solve a real-life data management problem. It can be any problem in
your work environment or for another organization, for example, a
bookstore (think of how Amazon uses databases), a course management
system (think of how a university manages courses), a bank (think
of how your bank works), and an online auction site (think of how
Ebay works). You will develop a database to solve this problem
You will...
SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for my ITD 256 Class. These are the questions I am suppose to answer: Project: The project should include designing a database deals with making a proposal for the database implementation. You can either try to fix an existing problem in your business or create a new database for the new projects or new clients. Please define the objective, scope, and time frame of your...
Project Description In this project, you will design and implement a database for keeping track of information for an online “SOCIAL NETWORK” system (e.g. a simplified version of Facebook!). You will first design an EER schema diagram for this database application. Then, you will map the EER schema into a relational database schema and implement it on ORACLE or MySQL or some other relational DBMS. Finally, you will load some data into your database (via user Interface) and create some...
Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accounting, and employee data, and these different data sets must all be efficiently managed in order to make the data accessible. Companies rely on database engineers to ensure that their records are accurate, updated, and tracked in real time. This course covers structured query language (SQL) and how it can be used to manage database schemas, manipulate data, and analyze data. For your final...
I need help with the following SQL query for a company database (script given below). The name of the Department. The number of employees working in that department. The number of different projects controlled by this department. The name of the project controlled by this department that has the maximum number of employees of the company working on it. The number of the above project. The cumulative sum of the number of employees of the company working on the projects...
Rationale The focus of the project is to develop your database programming skills. This project will help you get a fair idea of the sales and distribution system in any organization that has a chain of Carrying and Forwarding Agents (CFAs) or super stockists and stockists. You will be able to implement database programming concepts of ADO.NET in VB.NET and ASP.NET to create a real-life, web-based database application. (VB stands for Visual Basic.) Scenario Smooth Pen, Inc., a pen manufacturing...
For this course project, you will use various database management and programming techniques to design and develop an online sales and distribution system for a fictitious organization. There are two phases—you will complete the first phase this week and the second phase in W5 Assignment 2. Rationale The focus of the project is to develop your database programming skills. This project will help you get a fair idea of the sales and distribution system in any organization that has a...
Using Oracle database Need help getting the JAVA code for the queries and the rest of the instructions. Need the table provided converted and fulfil the requirements. . For this project - you will be writing a program (you may choose whatever programming language you want) to read in your database tables from Lab 5, and then print out the contents of each of the tables. Additionally, you must print at least one query each with the following clauses: *JOIN (any...
Hospital Patient Reglstration System Hospltal Patient Registration System Part 2: Relational Schema: Description of Tables 1) 2) Patient Table: Contains detail information about patients. Patient Address: Contains list of patients addresses. Each Patient can have more than one Address. However, an address can belong to only one patient. DOD DATETM 3) Provider Table: Contains detail information about Service Provider's, 4) Provider Address: Contains list of provider's addresses. 5) Provider Department: Contains information about which provider are in which department. Provider...
Performance Improvement programs and effective project
management require an understanding of the four phases of the
project life-cycle: initiation, planning, execution/implementation,
and closure. It is important to have each phase of the project
mapped on a timeline and to be sure the project team has the
appropriate members with the right skills to ensure a successful
program. Using a case study from the text, students will
demonstrate their ability to review and evaluate a performance
improvement program by arranging the...