Create a series of pages that allow you to add product

Assignment Help Other Subject
Reference no: EM132327771

Developing Enterprise Systems Project -

An Introduction to the Project - The Project is divided into six smaller parts that each part builds upon the previous parts.

The Project -

The following pages present the user interface, operation, and specifications for each project. As you view these pages, remember that each part builds upon the previous parts.

Part 1: Product Maintenance

For this part, you'll create a series of pages that allow you to add, update, or delete a product that's available to the application.

Operation -

(1) When the application starts, it displays the Index page. This page contains a link that leads to the Products page that can be used to add, update, or delete products.

(2) To add a new product, the user selects the Add Product button. This displays the Product page with all text fields empty. Then, the user can fill in the text fields and click on the Update Product button to add the product.

(3) To edit an existing product, the user selects the Edit link for the product. This displays the Product page with all existing data for the product displayed. Then, the user can edit any entries and click on the Update Product button to update the data for the existing product.

(4) To delete a product, the user selects the Delete link for the product. This displays the Confirm Delete page. Then, if the user confirms the deletion by selecting the Yes button, the product is deleted and the Products page is displayed to reflect the new data. If the user selects the No button, the Products page is displayed.

Specifications -

(1) Use a Product class like the one shown later in this document to store the product data.

(2) Use a ProductIO class like the one shown later in this document to read and write the product data to a text file named products.txt in the WEB-INF directory.

(3) Use a text file like the products.txt file shown later in this document as a starting point for the products that are available to the application.

(4) Use server-side validation to validate all user entries. In particular, make sure the user enters a code, description, and price for each product. In addition, make sure the product's price is a valid double value.

(5) If possible, get the Product.java, ProductIO.java, and product.txt files from your instructor or trainer. Otherwise, you can create these files yourself.

Part 2: Product Maintenance with custom tag validation

For this Part, you'll enhance the application described in Part_1 by adding a custom tag to validate user entries.

Specifications -

(1) Use a custom tag to mark empty fields that are required on the Product page with an asterisk.

Part 3: Product Maintenance with a database using JDBC

For this Part, you'll enhance the application described in the previous Parts by modifying it so it uses a database instead of a text file to store the product data. You'll use JDBC to work with the data (look hard as solution is also provided). Don't forget to:

(A) change the password according to your MySQL setup (see below)

(B) import the database if you haven't done so (download db in Lesson 9 folder and use create_databases.sql during import in MySQL workbench).

Specifications -

(1) Use a class named ProductDB that's in the music.data package to add, update, and delete the products in the Product Maintenance application. This class should use JDBC.

(2) Use a connection pool as described in chapter 12.

(3) Use the music database (available on Moodle for download as DB.zip).

Part 4: Product Maintenance with a database using JPA

For this Part, you'll convert the application in the previous Parts so it uses JPA instead of JDBC to work with a database.

Specifications -

(1) Add JPA annotations to the Product class.

(2) Use a class named ProductDB that's in the music.data package to add, update, and delete the products in the Product Maintenance application. This class should use the EclipseLink JPA provider.

(3) Since the EclipseLink JPA provider automatically creates a connection pool, please delete any old code that creates a connection pool for JDBC.

(4) Use the music database (available on Moodle for download as DB.zip).

Part 5: Product Maintenance with SSL and authentication

For this Part, you'll enhance the application described in the previous Parts by modifying it so it uses a secure connection and only allows authorized users (refer to chapters 1-13, 15, and 16 of textbook B).

Specifications -

(1) Restrict access to all pages except the Index page. Only allow users in the programmer role and customer service role to access the rest of the pages in the Product Maintenance application. To do that, use the UserPass and UserRole tables in the murach database to define the usernames and passwords for these roles.

(2) Use a secure connection for all pages except the Index page.

Part 6: Product Maintenance within the Music Store web site

For this project, you'll enhance the application described in the previous projects by adding it to the admin section of the Music Store web site. (Prerequisites: 1-13,15, 16, 22 and 23)

Specifications -

(1) Add the JSP files for the Product Maintenance application to the admin directory of the Music Store web site.

(2) Add the controller servlet for the Product Maintenance application to the music.admin package of the Music Store web site.

(3) Modify the admin/index.jsp file of the Music Store web site so it includes a button that starts the newly added Product Maintenance application.

(4) Modify all necessary JSP, CSS, Java, and XML files within the Music Store web site so they work with the newly added Product Maintenance application.

(5) In the controller for the Product Maintenance application, use the getRequestURI method to determine which action to process as shown in chapter 22. If the URL doesn't match any actions in your application, use the sendError method of the response object to send a 404 error to the user to indicate that the page isn't available.

(6) Don't break the other applications in the existing Music Store web site.

Attachment:- Assignment File.rar

Verified Expert

In this assignment we have developed the web application using java and database.I have used the jpa for connection database. We have developed web application in java.we have done 4 task in java with 3 different application.

Reference no: EM132327771

Questions Cloud

What is the most abundant protein in the human body : DNA codes for proteins, which are the building blocks of organisms. What is the most abundant protein in the human body?
Biology of human sexuality : write about the sexual topic. This is for a biology of human sexuality.Express your views and opinions of the information in the movie
Effects of high temperatures on microbial growth-destruction : Write a one to two page summary of the following learning objectives: the effects of high temperatures on microbial growth and destruction
The history of drying foods for preservation : The history of drying foods for preservation including early methods using sun, wind-fire, freeze drying and sublimation and their effects on microbial growth
Create a series of pages that allow you to add product : MITS5502 Developing Enterprise Systems Project - Victorian Institute of Technology, Australia. Create a series of pages that allow you to add product
Define what we mean by the scientific process : Define what we mean by the scientific process. Provide any one biological observation in your environment that can be used to support your definition
Identify each account as either an asset (a), liability : Identify each account as either an asset (A), liability (L), equity (Eq), revenue (R), or expense (Ex): a) Show the accounting equation which results from each of these transactions. b) Prepare general journal entries.
What distinguishes living organism from nonliving thing : What do all living organisms have in common? What distinguishes a living organism from a nonliving thing? How can we get life from something that isn't alive?
Who differ greatly in their communication and delivery style : For this discussion board post, you will watch two speakers who differ greatly in their communication and delivery styles.

Reviews

len2327771

6/25/2019 1:53:00 AM

This assessment item relates to the unit learning outcomes as in the unit descriptors. It is worth 40% of the total marks for the unit. The project in this document let you apply the enterprise application design skills that you learn in MITS5502 by creating a Product Maintenance application that lets users add, update, and delete the product records that are available to the application. NOTE: The solutions of the first two parts are given to you to give you a general idea of what you are expected to do. Make sure you read the description of each part and try to do the first two parts even though the solutions are given.

len2327771

6/25/2019 1:52:52 AM

You will be marked based on your submitted zipped file on Moodle. You are most welcome to check your file with your lab tutor before your submission. No excuse will be accepted due to file corruption, absence from lecture or lab classes where details of lab requirements may be given. Please make sure that you attend Lecture EVERY WEEK as low attendance may result in academic penalty or failure of this unit.

len2327771

6/25/2019 1:52:44 AM

How to develop the Project - The description of each Project part includes images that show how the pages should appear in a browser, a general description of the operation of the project’s pages, and some general specifications for how the project should be coded. This information is detailed enough for you to complete the project. However, you will need to determine any unspecified details on your own. For example, you will need to create your own names for the servlet and JSP files that you create, you will need to determine what error messages to display when the user enters invalid data, and so on. Unless you’re instructed otherwise, you can implement each Project using any programming techniques you wish. In some cases, however, the project’s specifications will direct you to use a specific programming technique. In that case, you should implement the project as directed.

len2327771

6/25/2019 1:52:35 AM

What to Submit - A root folder “studentIDMITS5502_Project” containing: (A) “studentIDMITS5502.doc” (B) The Project folders - i. Part_1, ii. Part_2, iii. Part_3 (and your codes to complete this Part), iv. Part_4 (and your codes to complete this Part), v. Part_5 (and your codes to complete this Part), vi. Part_6 (and your codes to complete this Part). Your responses to each Project part should be in the form of a written essay (use the temple given on Moodle) which includes: (A) Front page, (B) TOC, (C) Header and footer, (D) Explanation and screenshot of all steps involved in the Project application (code, all output tests including reports, IDE project structure … etc.). Make sure you put all in each appropriate heading according to the TOC. (E) Used references. (F) The name of the Word document should be “studentIDMITS5502.doc”. You are required to zip the root folder (1) for submission via Moodle by the due date. NOTE: Your Project will not be marked if any one of the 2 items above is missing.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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