RMI

RMI Database Access Simple Application

RMI Database Access Application Before this program, it is advised to read the previous simple application InterestCalculation where the basic notes and guidelines are given. This application adds extra features to the previous application like database access, security features and handling exceptions thrown by each method instead of throwing a generic Exception. In this Bank …

RMI Database Access Simple Application Read More »

RMI Application Step by Step Explanation

RMI Application Coding Note: But before going into this tutorial, it is advised to read RMI tutorial and also architecture. A typical RMI application includes four programs. Remote interface: Write an interface that should extend an interface called Remote from java.rmi package. Implementation program: Write a concrete class which extends UnicastRemoteObject and implements the above …

RMI Application Step by Step Explanation Read More »

RMI Execution Compilation Distribution Stepwise

RMI application involves 4 programs (as illustrated in the first simple Interest Calculation application) and let us go for RMI Execution to see how to execute them to get the desired output step by step. a) Compile all the 4 programs with javac command as usual as follows: c\snr> javac Interest*.java This compiles all the …

RMI Execution Compilation Distribution Stepwise Read More »