Java RMI Remote Display and File Transfer
2016-08-23
0 0 0
no vote
Other
Earn points
In this project, we create a Java RMI API for remote display and file transfer program. We have three main files in the client. 1) iclient.java This is a client-side remote class and interface extension. The two methods are defined in the interface andthrows exception. 2) client.java This is the serializability of the concrete class implementing client interface and the extended unicastremoteobject validation. 3) rmiclient.java In this lesson, we create the client skeleton and register. On the server side, we create a client stub to connect the client skeleton with a name. The lookup () method is then called the remote method: startconnection () and closeconnection (). How to use our program 1) in the client class, set the server IP at the top and the server class, set the client IP at the top. 2) Running on the client machine rmiclient.java Documents. 3) Running on server machine SERVER.JAVA File, and then a window appears. 4) Click the "connect" button to jump to another windows will screen in the client automatically, as we call the remote method of the client. startconnection() RMI。 5) You can type the text in the server window, which will be displayed in the client window. 6) You can also transfer files from the server to clients in this format: [file] serverpath to clientpath. The file is then transferred from the server to the client.
java
文件
javarmi
远程
传输
显示
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
VPN source code accelerator
0
0
no vote
VPN source code
0
0
no vote
Springboot Campus Recruitment System
0
0
no vote
Java intelligent QR code access control management
0
0
no vote
No comment