Enterprise Software Development

Project description
this assignment is to design, implement, test and document the persistence tier of a typical 3-tier enterprise application system. The purpose of this assignment is to

assess your competency in enterprise software paradigm and JPA programming.

The Assignment-1 Specification and Marking Criteria
A real estate company needs to implement an e-business system to manage properties. The system is a typical 3-tier enterprise application that integrates a

presentation tier, a business tier, and a persistence tier. The real estate company has delegated this task to an IT service company. After user requirements and

budget analysis, the executive of the IT service 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 service company, you are designated as the designer and developer for the system core. To accomplish this task, you will divide the

design and development work into two parts. In this assignment (assignment-1), you will design, implement and test the persistence tier. In assignment-2, you will

design, implement and test the business tier and presentation tier. Consequently, a good design and implementation of this assignment is also important for

assignment-2 as it will be integrated with the other 2 tiers of assignment-2. The specification of this assignment is as follows. 1. The real estate company manages

two types of property: properties for sale and properties for rent. A major assumption is that the two types of property have some common attributes such as property

ID, property address, property description etc. In order to minimise code redundancy, you should use inheritance mapping. In your design, the Java classes should be at

least 3 with 1 class as the super class to abstract the common attributes and operations for the two types of property and the other 2 classes are used to abstract

other attributes and operations that are particular to a type of property such as weekly rent price for a rent property or sale price for a sale property. 2. The real

estate company needs to persist the property information. You are required to use Java Persistence API (JPA 2.0) to persist the property 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. 3. The real estate company needs to persist the contact details of a property manager and his/her agency, which is the list of

properties that is delegated to him/her for sale or rent management. You are required to use entities to persist property managers and their agencies. The relationship

between a property manager and his/her managed properties must be one-to-many unidirectional (detailed on page 100 to 103 of the textbook), i.e. a property manager can

manage multiple properties. The following screenshot shows that the execution of such a Java EE application: MPersistence will persist a sale property and a rent

property, a property manager and his 2 managed properties into a Derby database.

1

4. The real estate company needs to retrieve the persisted information. You are required to use JPA 2.0 to retrieve property information, property manager details and

his/her agency. Particularly, you should use Java Persistence Query Language (JPQL) to query entities. The following screenshot shows that the execution of such a Java

EE application: MRetrieval will retrieve a property manager and his managed properties from the Derby database.

2

To demonstrate success, you are required to implement all the entities and Java standalone applications to persist some example entities and retrieve them later on. To

submit your assignment, you need to provide: 1. The design of all entities. You are required to describe the structures of these entities, their inheritance hierarchy,

or relationship. 2. The complete implementation code of the persistence tier, including: Java source code and executable files, the Maven POM file and persistence XML

file within a standard Maven directory structure (check Figure 1-9 of the textbook). That means the code can be compiled and run directly in the Java EE environment

that is used by this course without any further revision/redevelopment. 3. The test instruction. You are required to provide detailed instructions about how a user

would run the software to persist at least 2 properties, 1 property manager and 1 agency for the property manager. Your design and test must be documented in a Word

document. You must submit all the required files in a zip file.

3

The marking criteria of this assignment are detailed in the following table. Marking Criteria Design Documentation 1. Diagram of Architecture 2. Description of

entities 3. Description of inheritance hierarchy or relationship Test Instruction 1. Coverage of the application scenario 2. Inputs and expected outputs of each test

3. User’s manual of test Software 1. Being compilable and runnable 2. Conformance between the entity implementation and the given specifications 3. Functionality of

data persistence 4. Functionality of data retrieval 5. Others: in-line comments, layout, reliability etc Late Penalty Plagiarism Penalty Total for Assignment-1 20 1 4

2 2 1 -1 (5% each calendar day) 2 2 1 1 2 2 Available Marks

4

PLACE THIS ORDER OR A SIMILAR ORDER WITH US TODAY AND GET AN AMAZING DISCOUNT 🙂

© 2020 customphdthesis.com. All Rights Reserved. | Disclaimer: for assistance purposes only. These custom papers should be used with proper reference.