Implement a 3-tier enterprise application

Assignment Help Software Engineering
Reference no: EM131644465

The Assignment -

In this assignment, you are to implement a 3-tier enterprise application based on the following scenario.

The application scenario

An online device sale company needs to implement an e-business system. The system is a typical 3- tier enterprise application that integrates a presentation tier, a business tier and a persistence tier. After user requirement and budget analysis, the executive of IT Department of the company has decided to use Java EE open source technology and related platforms and tools for the implementation of the system. As an officer of the IT Department of the company, you are delegated as the developer of the system core. To accomplish this task, you will need to design, implement, test and document the e-business system.

The assignment specification

1. The persistence tier

a. The company sells only 2 products, laptops and smart phones, and may extend to more products in the future through this general framework. A major assumption is that the 2 products share some common properties. For example, both laptops and smart phones have the properties of Brand, Model, Size of Display, Weight, OS, Camera and Wi-Fi etc. However, a laptop has speciality properties such as a Network Interface (e.g. 1000G Ethernet LAN), Hard Drive and Optical Drive etc.; a smart phone has speciality properties such as Cellular Connectivity (e.g. 4G 700/750/800/900/1800/2100), Location (e.g. GPS) and SIM Card (e.g. Nano or Micro).

b. The product information must be persisted into a Derby database. You are required to use Java Persistence API (JPA) to persist the product information into a Derby database. In order to reduce code redundancy, you should use inheritance mapping. That is, in your design and implementation, the Java entity classes should be at least 3 with 1 class as the super class to abstract the common properties and operations for the 2 products and the other 2 classes as the sub-class for the specialty of each product. You are required to use the JoinedSubclass Strategy (detailed from page 170 of the textbook) in your design and implementation.

c. The company needs to store customer details and customer orders. You are required to use entities to persist customer details and customer orders. The relationship between a customer and his/her orders must be one-to-many (detailed from page 156 of the textbook), i.e. a customer can have multiple orders, and each order is just for one product item only.

2. The business tier

Develop the business tier by using Enterprise Java Beans (EJB). The business tier will process the data persistence or retrieval requests from users and interact with the persistence tier for accomplishing the requests.

Note: to interact with the persistence tier, the EJBs need to use Java Persistence Query Language (JPQL) to query entities and return the processed results to the presentation tier.

3. The presentation tier

Develop the presentation tier by using JavaServer Faces (JSF). The presentation tier will provide a web-based user interface, which will allow users to enter product details, customer details and order details and retrieve these saved information later on. Presenting exception messages, e.g. a user doesn't enter data for a required text field, is necessary and required for this tier.

Note: you need to review Backing Beans (Managed Beans) as the core component of presentation tier and its functions for JSF pages' navigation (detailed from page 354 of the textbook) and do some personal research if necessary.

To demonstrate success, you are required to implement all the required entities, EJBs and JSF pages (.xhtml files) and managed beans. To submit your assignment, you need to provide:

Part 1: Documentation

The diagram of architecture: it should include major components from all 3 tiers, which are depicted by using any formal method e.g. UML.

The typical workflow: you need to use an example workflow, e.g. creating a customer's order, to describe the tier components interaction and JSF pages navigation. The end user manual and test instruction: you are required to provide detailed instructions about how a user would compile and deploy the software and use the software to persist at least 2 products, 2 customers, where each customer puts in at least 2 orders.

Part 2: Software

You will have 2 options to provide the complete implementation code of the 3 tiers, including Java source code and executable files, persistence files and JavaServer Faces xhtml pages. You can provide your implementation by either a Maven project or a NetBeans project, which must satisfy:

1. The project can be compiled directly without any further revision/re-development or debugging.

2. The generated .war application from the project can be executed on a separate/independent GlassFish server (not the NetBeans embedded one) to interact with a separate/independent Derby database (not the NetBeans embedded one).

A Demonstration of the Functionality of the e-Business System of Assignment-

1. The main JSF page of the e-business system

2. Create a product e.g. a book or a CD

3. Create a custome

4. Check the product stocks

5. List customers

6. Create an order

Note: before creating an order for a book, the number of books in the stock is 20.

Creating an order for a book

7. List of orders

8. Search for a product

9. Search for a customer

10. Search for an order

11. Delete an order

Note: before deleting the order of the CD: Take ME Home, the number of CDs is 78.

12. Page navigation

The main entry of page navigation is the main page of the e-Business system.

Attachment:- Assignment Files.rar

Reference no: EM131644465

Questions Cloud

Small fraction of desktop computers : Describe some reasons why Linux is installed on only a small fraction of desktop computers.
Discuss patient safety outcomes to adn and bsn nurses : Discuss current research that links patient safety outcomes to ADN and BSN nurses. Based on some real-life experiences, do you agree or disagree
Explore the overall market for your firm : Explore the overall market for your firm. Describe the market structure for this firm, and analyze how this affects the firm's ability to influence the market.
Process mapping of a quality improvement initiative : Students are required to research an existing health care organization of their choice. In your research you should identify a quality improvement.
Implement a 3-tier enterprise application : In this assignment, you are to implement a 3-tier enterprise application based on the following scenario
Discuss the method of public health : Describe the chain of command and the method of public health response that was conducted in this situation
Discuss techniques rn would use for the physical assessment : Compare and contrast the approach the RN would use to conduct the health history and physical assessment
Explore how a business manager might use cpi statistics : Explore how a business manager might use CPI statistics for pricing decisions, production costs decisions, salary decisions, etc.
Discuss postoperative healthcare-associated infections : Frequency of Hand Decontamination of Introoperative Providers and reduction of postoperative Healthcare-Associated Infections

Reviews

len1644465

9/16/2017 2:57:22 AM

Australian student, Please make sure that quality should be good and i need good marks in this assignments for pass. Note: you need to review Backing Beans (Managed Beans) as the core component of presentation tier and its functions for JSF pages’ navigation (detailed from page 354 of the textbook) and do some personal research if necessary. Note: to interact with the persistence tier, the EJBs need to use Java Persistence Query Language (JPQL) to query entities and return the processed results to the presentation tier.

len1644465

9/16/2017 2:57:16 AM

Submission Your design and test documents must be detailed in a Word document. You must submit all the required files in a zip file. You must submit your assignment via the unit web site. Any hardcopy or email submission will not be accepted. After the marked assignments are returned, any late submissions will not be accepted.

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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