Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a project that interacts with the user and displays database records. 1 . Create Java project Week 0 5 Test 1 . This project
Create a project that interacts with the user and displays database records.
Create Java project WeekTest This project will include development of the ViewStudentsMajors.java, DisplayStudentInfo.java, DisplayMajorInfo.java and MainViewer.java. pointsbe sure to name the objects as required
Prompt the user with the following options and display the contents of the tables using LoadListFromDatabase: points
Enter option view Student records
Enter option view Major records
Enter option view both Student records and Major records
a When the user selects option you will pass in the parameters to display the Student table. Create your own data in the database and table with at least records. Be sure to provide the SQL script in your project folder.
b When the user selects option you will pass in the parameters to display the Major table. Create your own data in the database with at least records.
c When the user selects option you will pass in the parameters for each option and run them backtoback.
You must use the ReadVALUEFromUser methods provided in Java to obtain user input. points
If there is a connection issue with the database, the program must issue this error message Database connection issue in method MethodName. Please contact Support for Project CS points
Demonstrate that you know how to use a finally block. This finally block of code needs to print a message stating Processing Complete by Program Name points
The program needs to catch the following exceptions and provide this error message: points
a IndexOutOfBoundsException You have an issue with your index. Please contact level Support for Project CS
b NullPointerException The value pass is NULL data needs to be fixed. Please contact level Support for Project CS
You must provide a copy of your database SQL script in the Database folder. If you choose to use access instead of SQL the database must be in the JDBCtoMSAccess folder. points
Be sure the program checks for other error processing, validation, etc. as necessary. points
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
Refer to the homework assignments for tips on how to create this application.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started