Create POJOs for the data files ([url removed, login to view], [url removed, login to view] and [url removed, login to view]) from the
BIRT sample database scripts found at [url removed, login to view] - mysql.
Include Java Bean private instance fields, and public instance getter and setter methods
for all of the data fields in each data file. If a “NULL” value is provided in the BIRT data,
then set that characteristic to a Java null. Provide a toString() method to format all of the
record data in each class. Implement Serializable in each of these data classes.
Override hashcode() and equals() in each class. All data fields in the POJOs should be a
Java Object Type (no primitives) such as Integer, String, Double, and Date that is
appropriate to the data type for each column defined in create_classicmodels.sql.
Provide a class with method/s that accept the .txt file location of each POJO and return a
proper generic List of correctly populated POJO’s for each row in the file. Collect all
possible errors that may be thrown during String Parsing and File IO into a custom
exception called FileParsingException. Provide a JUnit Test for all functionality in the
FileLoader class (including the thrown exception).
Develop a Thread or Runnable Class with a JUnit test that loads each data file
independently. Provide a Class with a JUnit test and methods to Serialize all POJO Lists
to a file on disk and Deserialize them for reuse.
Provide a console Dialog class/s that includes the following features in a navigable format:
• Prompts the user to load each Data file into the application.
• Prompts the user to load a previous session from a serialized file.
• Prompts the user to save the current session to a serialized file.
• Prompts the user to add a new Order File.
• Prompts the user to view all Customers.
• Prompts the user to view all Employees.
• Prompts the user to view all Orders by Customer Number.
Create a Driver class to launch the application and make all to the functionality
available. Abstract all logic into classes with JUnit tests for public methods (except
basic encapsulation) to be called in the Driver classes main method. Include a test
script called [url removed, login to view] or [url removed, login to view] to launch a jar that contains the
application built with all dependencies.