Implement a 3-tier enterprise application

Assignment Help Other Subject
Reference no: EM131973225

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

The application scenario
An online movie and game 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 designated as the developer for 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 both movies and games and may extend to more products in the future through this general framework. A major assumption is that movie and game share some common properties. For example, both movies and games have the properties of Title, Company, Platform (e.g. DVD or Blu-ray for movies, PlayStation 4 or Xbox One for games), Classification and Description etc. However, a movie has speciality properties such as Special Features and Duration etc.; a game has speciality properties such as HD Video Output, Hard Drive Space and Number of Co-Players etc.

b. The movie and game information must be persisted into a Derby database. You are required to use Java Persistence API (JPA) to persist the movie and game 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 both movie and game and the other 2 classes as the sub-class for the specialty of a movie or a game. You are required to use the Joined-Subclass 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.

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 (movies or games) details, customer details and order details and retrieve these persisted information when needed. Presenting exception messages, e.g. a user doesn't enter data for a required textbox, is necessary and required for this tier.

Note: you need to review Backing Beans (also called 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). 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 application and use the software application to persist at least 2 movies and 2 games, 2 customers, where each customer puts in at least 2 orders, one for a movie and the other for a game.

The above must be detailed in a Word document.

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 GlassFish server (not the NetBeans embedded one) to interact with a separate Derby database (not the NetBeans embedded one).

Attachment:- Assignment.zip

Verified Expert

This is a web design program using Java JPA, Derby as database and GlassFish as application server. Front end was designed using JSF(Java Sever Faces). The program was to create an online shopping e-site, which is capable of accepting the user data and can stores it in the database. In order to display the customer details and their orders , the EJB extracts the database to managed beans then they are accessed by the JSF to make presentation complete.

Reference no: EM131973225

Questions Cloud

Write a description of the type of risk management plan : Brief summary description of the type of risk management plan you selected and your rationale for selecting that example.
Why might a firm want to be a pay leader : Why might a firm want to be a pay leader as opposed to paying market rate? The response must be typed, single spaced.
What is the random walk theory : What is the Random Walk Theory?
Implications of energy sources : Discuss the historical background as well as the implications of energy sources.
Implement a 3-tier enterprise application : Implement a 3-tier enterprise application - Develop the business tier by using Enterprise Java Beans (EJB). The business tier will process the data persistence
Home replication-global-transnational and multi-domestic : Compare and contrast home replication, global, transnational and multi-domestic strategies. Please provide some examples of each type of strategy.
What is the amount of the first annual payment : The loan is an interest-only loan with an APR of 7.65 percent. Payments are to be made annually. What is the amount of the first annual payment?
Review neurologic disorders and musculoskeletal disorders : Review Neurologic Disorders and Musculoskeletal Disorders in the Burns et al. text. Review and select one of the three provided case studies.
What is the margin of the us firm : Case A: If the US firm was selling 100% of the finished product output in the domestic US market at $12/unit, what is the margin of the US firm.

Reviews

len1973225

5/7/2018 2:42:35 AM

Software 22 1. Being compilable and runnable 2 2. Conformance between the implementation of entities, EJBs, JSF pages and the given assignment specification 4 3. Functionality of data persistence 6 4. Functionality of data retrieval 6 5. Functionality of presentation (necessary exception messaging is required) 2 6. Source code in-line comments and class readability 2 Subtotal for Assignment 2 40 Late Penalty -2 (5% ) for each calendar day (either full or partial)

len1973225

5/7/2018 2:42:28 AM

Test Instruction 10 1. User’s manual for compiling and deploying the project 2 2. Inputs and expected outputs of each test 6 3. Coverage of the application scenario 2

len1973225

5/7/2018 2:42:18 AM

implementation. You will need to use this demonstration as a guide to ensure that your implementation complies with the assignment specification and is complete in functionality. The demonstration can be accessed on the unit web site. The marking criteria of this assignment are detailed in the following table. Marking Criteria Available Marks Design Documentation 8 1. Diagram of Architecture 4 2. Description of tier component interaction and page navigation 4

len1973225

5/7/2018 2:42:11 AM

Open Source Softwares Used by This Assignment • NetBeans IDE8 • Derby Database 10 or higher • GlassFish 4.1 Application Server • Apache Maven 3 or higher • JDK 1.7 or higher 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. Demonstration of the e-business system To help you understand and develop the application, a number of screenshots and related descriptions have been provided to demonstrate the e-business system’s functionality of a reference Please find attached documents about some useful materials and please check carefully about The Marking Criteria.

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