5 years ago (2015-06-12)  Algorithm language computer technology |   First to comment  4 
post score 0 times, average 0.0
[Slideup] Catalog

The following code is the key to the use of the database to achieve RMI meeting management in this experiment. The main method is to implement database connection and implement related query methods. These methods have been stated in the previous article's interface code, but there is no substance.The RmiDataBase class inherits the meetinginterface interface.

Series links:

SSD8_Ex3 [JAVA_RMI Service] (1) Overview of RMI and Network APIs

SSD8_Ex3[JAVA_RMI](2) Remote Interface Declaration

SSD8_Ex3 [JAVA_RMI] (3) Open RMI Service

SSD8_Ex3 [JAVA_RMI] (4) conference database table

SSD8_Ex3 [JAVA_RMI] (5) database connection and meeting method definition

SSD8_Ex3 [JAVA_RMI] (6) Create Command Line Navigation Menu

RmiDataBase.java

 

 

Custom exception handling class: BYException.java

     

 

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/ssd8-ex3-java-rmi-5-the-database-connection-and-session-method-definition-2.html

Post comment

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW