HTTP/2 302
server: nginx
date: Fri, 18 Jul 2025 00:46:11 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080301235520
location: https://web.archive.org/web/20080301235520/https://java.sun.com/developer/codesamples/rmi.html
server-timing: captures_list;dur=0.461787, exclusion.robots;dur=0.021932, exclusion.robots.policy;dur=0.012896, esindex;dur=0.009286, cdx.remote;dur=5.241380, LoadShardBlock;dur=321.734124, PetaboxLoader3.datanode;dur=164.027215, PetaboxLoader3.resolve;dur=115.078774
x-app-server: wwwb-app202
x-ts: 302
x-tr: 355
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app202; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 18 Jul 2025 00:46:12 GMT
content-type: text/html
x-archive-orig-server: Sun-Java-System-Web-Server-6.1
x-archive-orig-date: Sat, 01 Mar 2008 23:55:19 GMT
x-archive-orig-last-modified: Mon, 17 Dec 2007 23:44:47 GMT
x-archive-orig-accept-ranges: bytes
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Sat, 01 Mar 2008 23:55:20 GMT
link:
; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 17 Dec 2003 16:08:49 GMT", ; rel="prev memento"; datetime="Tue, 22 Jan 2008 02:08:41 GMT", ; rel="memento"; datetime="Sat, 01 Mar 2008 23:55:20 GMT", ; rel="next memento"; datetime="Thu, 06 Mar 2008 15:33:07 GMT", ; rel="last memento"; datetime="Fri, 10 Feb 2023 04:11:04 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_2_20080301230750_crawl107-c/52_2_20080301235454_crawl104.arc.gz
server-timing: captures_list;dur=0.784969, exclusion.robots;dur=0.023880, exclusion.robots.policy;dur=0.013882, esindex;dur=0.008864, cdx.remote;dur=61.061282, LoadShardBlock;dur=224.322720, PetaboxLoader3.datanode;dur=219.477781, PetaboxLoader3.resolve;dur=275.653941, load_resource;dur=321.310357
x-app-server: wwwb-app202
x-ts: 200
x-tr: 689
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Remote Method Invocation (RMI) Code Samples
Index of Code Samples
Remote Method Invocation (RMI) Code Samples
The Remote Method Invocation (RMI) API allows remote communication between programs written in the
Java programming language. It enables an object running in one Java
virtual machine (JVM1 ) to invoke
methods on an object running in another Java virtual machine.
Compute Pi Example
File Transfer Example
Servlets and Serialization Example
1 As used on this web site, the terms Java virtual
machine or JVM mean a virtual machine for the Java platform.