Recent Question/Assignment

The Assignment-2 Specification and Marking Criteria
In this assignment, you are required to implement the business tier and presentation tier and integrate them with the persistence tier that you have already implemented in assignment-1 into a complete 3-tier e-business system to satisfy the application scenario that is detailed in assignment-1 specification.
The specification of this assignment is as follows:
In assignment-1, you used Java standalone applications to demonstrate a very simple interface, which allows a user to persist and/or retrieve real estate property information or property manager and property agency details. In this assignment, you do not use the standalone Java applications, but instead you need to:
1. Develop a business tier by using Enterprise Java Beans (EJB 3.1). The business tier will process the data persistence or retrieval requests from a user 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.
2. Develop a presentation tier by using JavaServer Faces (JSF 2.0). The presentation tier will provide a web-based user interface, which will allow users to store property details, property manager details and property agency details and retrieve the persisted information later on.
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.
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:
1. The design of JavaServer Faces pages. You are required to describe the structures of these pages and the navigation between them.
2. The design of EJBs. You are required to describe how the EJBs perform the business logic for data persistence and retrieval, and how they interact with the persistence tier.
3. The complete implementation code of the 3 tiers, including Java source code and executable files, Maven POM files, persistence files, and JavaServer Faces pages 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/re-development. Because EJBs are used, the software should be packaged by Maven and ready for deploying into GlassFish for execution.
Note: you should reuse the Java code of the entities of assignment-1 as much as possible to reduce development workload.
4. The user’s instruction. You are required to provide detailed instructions about how a user would run the software to persist at least 2 sale and 2 rent properties, 2 property managers, and 2 property agencies for each property manager.
Your design and user’s instruction must be detailed in a Word document. You must submit all the required files in a zip file.
Demonstration of the e-business system
To help you understand and develop the application, a number of screenshots have been provided to demonstrate the e-business system’s functionality of a reference implementation. You will need to use this demonstration as a guide to ensure that your development complies with the assignment specification and its function is complete. The demonstration can be accessed on the course web site.

Looking for answers ?