Big Picture Review Please download and import the CountryReport project Run it and open the report that was created You are going to add Logging, Testing and JavaDocs to this existing project, but you will need to understand it first. Part I Starting with the main() method follow the flow of the application make sure you understand where and why each of the action classes as invoked. Make sure you understand where the entity class is used, and where each of the entity class fields are loaded then retrieved. Make sure you can see where the run time config parameters are being provided and where they are used. Part II Please add Log4J to this application. You will need to: 1) Add the log4j jar file to the build path 2) Add a log4j.xml config file to the src folder 3) In each java source file: 3.1) import the Apache Logger class 3.2) Create a Logger object 3.3) Add Log statements to the code I would like to see: LOG.debug for each method, so the flow can be traced LOG.info for each config parameter LOG.error for each exception LOG.trace for each input record being processed Part III Please add the JUnit 4 Library to this application's build path. You will need to: 1) Add a new Source Folder to the project named: test 2) Add a new package to the test folder named: org.example.country.report.entities 3) Add a new JUnit test Case to the package you just created 4) Write tests for each of the following business rules within the Country class: private String code; <- not null, not empty, max 3 chars private String name; <- not null, not empty, max 52 chars private String capital; <- not null, not empty, max 35 chars private String continent; <- not null, not empty, max 20 chars it must be in this list: Africa Antarctica Asia Europe North America Oceania South America Part IV We are going to write JavaDocs You will need to add JavaDocs to all public classes/interfaces/methods and fields the JavaDocs go right in front of the element you are documenting JavaDocs are /** tags */ and may contain HTML tags HTML tags I user include:
<- pre-formated code samples <- bold <- italics