Develop a Java application that implements Remote Method Invocation (RMI) for the Pearson Institute of Higher Education. The application should allow the user to enter their details to a user interface and these details should then be saved to a database. The Java application must consist of the following: A database: The database should be called registrants, and should have a table called students with the following table properties: idNumber, name, surname, age, cellnumber, degree; A server object interface: This interface should be called ConnectInterface and must have a method called Insert() which will be used to insert the parameters obtained from the GUI. ConnectionImplement class: o The class should be called ConnectionImplement and should implement the ConnectInterface interface. o It should have a method to get the all the student details from the GUI and populate them to the registrants database using the method defined in the ConnectInterface interface. o The method should connect to the database and save all the information in the students’ table.  Server class: o The main method should create a server object and register it with an RMI registry o When the server class is running, it should output the message “Server is ready” to the system. o Must implement the method from the ConnectInterface interface to connect to the database and save all the information in the students’ table.  Client Class: o The client class should consist of a graphical user interface (GUI) where a user can enter student information. o The Client class should locate a remote object from the RMI register then there should be ActionListener methods for the Register button that takes all the information entered by the user then invokes the method implemented in the ConnectInterface interface to insert the student details into the database. o Display a message in a message dialog box when the student is successfully registered. Otherwise display an error message if there was an error. ​​​​The combo box must consist of the following degrees:   BSC IT   BSc Computer Science   Higher Certificate in IT   BSc Biomedicine   Bachelor of Commerce   Bachelor of Arts If a user does not input any entry in one or more of the textfields the time the Register button is clicked, then an error message dialog box should be displayed to inform the user of this

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Develop a Java application that implements Remote Method Invocation (RMI) for the Pearson Institute of Higher Education. The application should allow the user to enter their details to a user interface and these details should then be saved to a database. The Java application must consist of the following:

A database:
The database should be called registrants, and should have a table called students with the following table properties:

idNumber, name, surname, age, cellnumber, degree;

A server object interface:
This interface should be called ConnectInterface and must have a method called Insert() which will be used to insert the parameters obtained from the GUI.

ConnectionImplement class:
o The class should be called ConnectionImplement and should implement the

ConnectInterface interface.
o It should have a method to get the all the student details from the GUI and populate them to the registrants database using the method defined in the ConnectInterface interface.
o The method should connect to the database and save all the information in the students’ table.

 Server class:
o The main method should create a server object and register it with an RMI registry
o When the server class is running, it should output the message “Server is ready” to the system.
o Must implement the method from the ConnectInterface interface to connect to the database and save all the information in the students’ table.

 Client Class:
o The client class should consist of a graphical user interface (GUI) where a user can enter student information.
o The Client class should locate a remote object from the RMI register then there should be ActionListener methods for the Register button that takes all the information entered by the user then invokes the method implemented in the ConnectInterface interface to insert the student details into the database.

o Display a message in a message dialog box when the student is successfully registered. Otherwise display an error message if there was an error.

​​​​The combo box must consist of the following degrees:

  •   BSC IT

  •   BSc Computer Science

  •   Higher Certificate in IT

  •   BSc Biomedicine

  •   Bachelor of Commerce

  •   Bachelor of Arts

If a user does not input any entry in one or more of the textfields the time the Register button is clicked, then an error message dialog box should be displayed to inform the user of this.

Pearson Institute Registration App
PIHE Registration App v1.0
Developer: S.M Makura
ID Number:
12345
First Name:
Sheunesu
Surname:
Makura
Age:
20
Cell Number:
0985362329
Select Degree:
BSc Computer Science
Register
Success
Student has been registered sucessfully
OK
Transcribed Image Text:Pearson Institute Registration App PIHE Registration App v1.0 Developer: S.M Makura ID Number: 12345 First Name: Sheunesu Surname: Makura Age: 20 Cell Number: 0985362329 Select Degree: BSc Computer Science Register Success Student has been registered sucessfully OK
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 1 images

Blurred answer
Knowledge Booster
Study of Characters
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education