blob: d4023af2587aea7b2c09d6d2cbdc5acbdda7251f [file] [log] [blame]
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 3.0">
<!--
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<title>Readme for the RMI over IIOP example</title>
</head>
<body TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#990066" ALINK="#FF0000">
<h2>RMI over IIOP</h2>
<p>The RMI over IIOP example has a simple AccountManager interface to create an account,
(re)open an account and to get a list of accounts. The Accounts created has operations to
get the name on the Account and to set and get the balance in the account. A third java
class AccountData is used to represent information used to create accounts. This example
illustrates the use of RMI over IIOP and how we can use RMI over IIOP to pass native Java
classes (those not mapped from IDL) across the wire, in remote method calls. It also
illustrates the use of a RMI style remote interface and how one can use create CORBA
servers, but use RMI clients to access the CORBA servers.<br>
</p>
<hr WIDTH="100%">
<p><br>
From this example, you will learn how to:
<ul>
<li>Use java2iiop to generate stubs and servants for CORBA interfaces described in Java</li>
<li>Use java2iiop to generate stubs and servants for RMI remote interfaces described in Java</li>
<li>Pass native Java classes like java.util.Hashtable around in remote invocations</li>
</ul>
<h3>Directory Contents</h3>
<ul>
<li><a HREF="rmi-iiop_java.html">Java example</a></li>
</ul>
<hr WIDTH="100%">
<p><br>
Return to the <a HREF="../README.html">top-level examples page</a>. </p>
</body>
</html>