Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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 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, 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).

Java, Programming

  • Category:- Java
  • Reference No.:- M92471451
  • Price:- $120

Guranteed 48 Hours Delivery, In Price:- $120

Have any Question?


Related Questions in Java

Object-oriented software development1 introduction 11

OBJECT-ORIENTED SOFTWARE DEVELOPMENT 1. Introduction 1.1 Assignment Requirement 1.2 Deliverables and Structure (what to submit) 1.3 Software Restrictions 1.4 How to score high... 1.5 Assumptions 2. System Requirements 2. ...

Assessment instructionsin this assessment you will complete

Assessment Instructions In this assessment, you will complete the programming of two Java class methods in a console application that registers students for courses in a term of study. The application is written using th ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Question slideshows or carousels are very popular in

Question : Slideshows (or carousels) are very popular in websites. They allow web developers to display news or images on the website in limited space. In this code challenge, you are required to complete the JavaScript ...

Assignment - method in our madnessthe emphasis for this

Assignment - "Method in our Madness" The emphasis for this assignment is methods with parameters. In preparation for this assignment, create a folder called Assign_3 for the DrJava projects for the assignment. A Cityscap ...

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

Assignment - java program using array of objectsobjectives

Assignment - JAVA Program using array of objects Objectives - This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details - For this assignment, you are required to develop a Menu ...

Can someone help me please with those question1what is the

Can someone help me please with those question 1:what is the best data type for student id datatime,currency,number,decimal 2:which relationshipis preferable? one to one,one to many,many to many 3:if you add table A's pr ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As