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
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
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7098995c-3485-49d7-98b0-a2cfb3dce70f%2F70ffd6aa-f9dc-4e45-ab44-768ed30d8fba%2Fev4bq_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 7 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)