Skip to content

Java application to calculate the volume and area of a geometric figure on a GUI interface that connects to a java server using JavaRMI

Notifications You must be signed in to change notification settings

juanArias8/java-rmi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Remote Method Invocation (RMI)



Invocation of remote Java methods is a mechanism offered by Java to invoke a method remotely. It is part of the standard Java execution environment and provides a simple mechanism for communicating servers in distributed applications based exclusively on Java.


Execution steps

  • Clone the repository
  • Address the ./JavaRMI/src
  • Open the terminal in ./JavaRMI/src folder
  • Compile the .java files in the following order:
    • javac RemoteVolumeAndArea.java
    • javac VolumeAndArea.java
    • javac ServerVolumeAndArea.java
    • javac ClientVolumeAndArea.java
  • Register the rmi with rmiregistry &
  • Run the server
    • java ServerVolumeAndArea
  • Run the client
    • java ClientVolumeAndArea


Invocación de métodos remotos de java es un mecanismo ofrecido por Java para invocar un método de manera remota. Forma parte del entorno estándar de ejecución de Java y proporciona un mecanismo simple para la comunicación de servidores en aplicaciones distribuidas basadas exclusivamente en Java.


Pasos de ejecuçión

  • Clonar el repositorio
  • Dirigirse a la ./JavaRMI/src
  • Abrir la terminal en la carpeta ./JavaRMI/src
  • Compilar los archivos .java en el siguiente orden:
    • javac RemoteVolumeAndArea.java
    • javac VolumeAndArea.java
    • javac ServerVolumeAndArea.java
    • javac ClientVolumeAndArea.java
  • Registrar el rmi con rmiregistry &
  • Ejecutar el servidor
    • java ServerVolumeAndArea
  • Ejecutar el cliente
    • java ClientVolumeAndArea

About

Java application to calculate the volume and area of a geometric figure on a GUI interface that connects to a java server using JavaRMI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages