Full Assignment Atlanta football Club
Sem 3
1.You need to analyze the object and information structure in the given scenario and perform the following tasks: Identify the primary classes and their relationships. The primary classes should model the positions, players, and matches.
Create the primary classes with their required fields and methods.
2. Once the primary classes are created, you need to perform the following tasks: Create the database tables in Derby and populate the tables with the sample data. The following figure shows the structures of the tables that you need to create:
The Structure of the Tables
Implement the following classes that use JDBC to interact with the database tables: Implement a class that performs the following functions: Insert the record of a new match into the MATCH table. Insert the record of a team for a match into the TEAM table. Implement a class that queries the database tables to retrieve information of a match and the team.
3. After creating the JDBC classes, you need to implement the player performance module of the application. To implement this module, you will need to perform the following tasks: Create a class that generates a MPR file by implementing the following functions:
The class should create the MPR file for a match in the following directory structure format:
PMS/MPR/<DD-MM-YYYY>.txt
In the preceding format: <DD-MM-YYYY>: Is the date, month, and year on which the MPR report is created. Create a class that creates the CDR file by implementing the following functions. The class should merge the contents of MPR files for each match to create a TPR file for the tournament in the following location and format:
PMS/TPR/<DD-MM-YYYY>.txt
Once a new TPR file is created, the class should move the existing MPR files to the following location:
PMS/Archive/MPR
The class should perform the operations to copy from each MPR file to the TPR file using separate threads.
4. You need to test and debug the application. You need to use the console to input test data and verify the outputs based on the requirement of the system. You also need to validate that the input data conforms to the data format used in the application.
Download Link:
|
No comments:
Post a Comment