Samples JDK
IAddition.java
1 package com.freemindcafe.rmi.sample3.server;
2 
3 import java.rmi.RemoteException;
4 
5 public interface IAddition extends java.rmi.Remote {
6 
7  public int add(int a,int b) throws RemoteException;
8 
9 }