Java RMI Tutorial
This chapter shows you the steps to follow to create a distributed version of the classic Hello World program using Java™ Remote Method Invocation (RMI).
The distributed Hello World example uses an applet to make a remote method call to the server from which it was downloaded to retrieve the message “Hello World!”. When the applet runs, the message is displayed on the client.
To accomplish this, you will work through the following three lessons:
• Write The HTML and Java Source Files
• Compile and Deploy Class Files and HTML Files
• Start the Remote Object Registry, Server, and Applet
There are four source files for the Hello World server and applet:
1. The Java remote interface.
2. The Java remote object (server) which implements the remote interface.
3. The Java applet that remotely invokes the server’s method.
4. The HTML code for the web page that references the applet.
Get pdf download Java RMI Tutorial
Related Tutorial
Tags: hello world, html code, html files, interface, java applet, java remote method invocation, java rmi tutorial, java source files, object server, remote method invocation, using java, web page, world server
Comments
Leave a Reply