澳洲論文代寫 > assignment代寫 > 堪培拉代寫assignment > > 正文

堪培拉代寫assignment

堪培拉代寫assignment

Assignment 2 Specification and Marking Criteria
In this assignment, you are to implement a 3-tier enterprise application based on the following
The application scenario
A sell 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. 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 3 tiers for the e-business system.
The assignment specification
1. The persistence tier 堪培拉代寫assignment
• The company sells similar products (e.g. books, CDs, …, or desktops, laptops, …). A major
assumption is that these products share some common properties (product ID, product title,
product description, … ). In order to minimise code redundancy, you should use inheritance
mapping. In your design, the types of product are at least 2 and the Java classes should be at
least 3 with 1 class as the super class to abstract the common properties and operations for at
least 2 types of product defined by other 2 classes.
• The product information must be persisted. You are required to use Java Persistence API (JPA
2.0) to persist the product information into a Derby database. You are required to use the
Joined-Subclass Strategy (detailed on page 115 of the textbook) or Mapped Superclass
Strategy (detailed on page 120 to 121 of the textbook) in your design of entities.
• The company needs to store customers’ details and customers’ orders. You are required to
use entities to persist customers’ details and customers’ orders. The relationship between a
customer and his/her orders must be one-to-many unidirectional (detailed on page 100 to 103
of the textbook), i.e. a customer can have multiple orders.
2. The business tier
• You are to develop a business tier by using Enterprise Java Beans (EJB 3.1). The business tier
will process the data persistence or retrieval requests coming from the presentation tier and
then interact with the persistence tier to persist products’, customers’ or orders’ information
or retrieve the persisted information later on.
• 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
• You are to develop a presentation tier by using JavaServer Faces (JSF 2.0). The presentation
tier will provide a web-based user interface, which will allow a user to input product details,
customer details, and order details. After collecting the required information, JSF pages will
send it as a persistence request to the business tier.
2
• The presentation tier also facilitates to retrieve products’ information (given product ID, or
product title, or …), customers’ details (given customer ID, or customer name, or …) and
his/her orders (given order ID, or …). Once the retrieval key information (e.g. an order ID) is
collected, JSF pages will send it as a retrieval request to the business tier.
Note: you need to review Managed Beans as the core of presentation tier and its functions for
JSF pages’ navigation (detailed on page 281 and 282 of the textbook) and do some personal
research if necessary

tag:
Copyright ? 2008-2018 assignment代寫

在線客服

售前咨詢
售后咨詢
微信號
Badgeniuscs
微信

在線客服

售前咨詢
售后咨詢
微信號
Badgeniuscs
微信
英国代写_数学代写_c++/c代写_留学生代写怎么查出来?