KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > example > entity > home > Home


1 package example.entity.home;
2
3 import java.rmi.*;
4 import javax.ejb.*;
5
6 /**
7  * Remote interface for the hello home.
8  */

9 public interface Home extends EJBHome {
10   /**
11    * Dummy find by primary key.
12    */

13   HomeObj findByPrimaryKey(String name) throws FinderException, RemoteException;
14   /**
15    * Returns hello, world.
16    */

17   String hello() throws RemoteException;
18   
19   /**
20    * Adds two numbers.
21    */

22   int add(int a, int b) throws RemoteException;
23 }
24
Popular Tags