Question: 1 . Create Java project Week 0 2 DBProcess. Create DBProcessPart 1 . java to demonstrate a console data display by passing args into a
Create Java project WeekDBProcess. Create DBProcessPartjava to demonstrate a console data display by passing args into a program. The project must include the Database folder in your project. Do this by copying using file explorer and refreshing the project in Eclipse. The program needs the database import statements as shown in DBExamples: import java.sqlConnection; import java.sqlDriverManager; import java.sqlResultSet; import java.sqlStatement;
DBProcessPartjava must have the following methods: main, LoadListFromDatabase, and OpenDatabaseConnection. points
a main: This accepts the incoming args, checks for missing args, and calls other methods.
b LoadListFromDatabase: This loads the data from the table. Load table TEmployees from the dbHCM database. You need to pass args using Run Configurations in Eclipse. Be sure to provide documentation in the comments on the args you are passing. Console output must look like this:
Table: TEmployees ID: FirstName: Jill
Table: TEmployees ID: FirstName: Jack
Table: TEmployees ID: FirstName: Jerry
Yes! We processed the list
c OpenDatabaseConnection: This opens the database connection for dbHCM
Be sure the program checks for error processing. points Send errors for at least the following:
a if the user cannot connect to the database
b if the table does not exist
c if the user does not pass parameters into the programif the program does not receive the correct number of args The args are getting passed in the Run Configuration for testing purposes. However, the program still needs to check the number of args. The error message must be this: Since you did not pass your table, primary key, and column cannot process.
The program must follow proper naming conventions of this course. points
Test the program and provide a printscreen of the test results. points
Be sure to have the proper program documentationcomments All methods must have the proper JavaDoc comments. points
Generate a JavaDoc for your Project. You do this by selecting your project folder, select Project, Generate JavaDoc. You can refresh your project to see the doc folder that contains your index.html Select Open With, Web Browser, navigate to annotations and provide a printscreen with your submission. points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
