Category: 07. Java RMI

  • Database Application

    In the previous chapter, we created a sample RMI application where a client invokes a method which displays a GUI window (JavaFX). In this chapter, we will take an example to see how a client program can retrieve the records of a table in MySQL database residing on the server. Assume we have a table…

  • GUI Application

    In the previous chapter, we created a sample RMI application. In this chapter, we will explain how to create an RMI application where a client invokes a method which displays a GUI window (JavaFX). Defining the Remote Interface Here, we are defining a remote interface named Hello with a method named animation() in it. Developing the Implementation Class In…

  • RMI Application

    To write an RMI Java application, you would have to follow the steps given below − Defining the Remote Interface A remote interface provides the description of all the methods of a particular remote object. The client communicates with this remote interface. To create a remote interface − Following is an example of a remote…

  • Introduction

    RMI stands for Remote Method Invocation. It is a mechanism that allows an object residing in one system (JVM) to access/invoke an object running on another JVM. RMI is used to build distributed applications; it provides remote communication between Java programs. It is provided in the package java.rmi. Architecture of an RMI Application In an RMI application,…