example.entity.home
Interface Home
- All Superinterfaces:
- javax.ejb.EJBHome, java.rmi.Remote
- public interface Home
- extends javax.ejb.EJBHome
Remote interface for the hello home.
Method Summary |
int |
add(int a,
int b)
Adds two numbers. |
HomeObj |
findByPrimaryKey(java.lang.String name)
Dummy find by primary key. |
java.lang.String |
hello()
Returns hello, world. |
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
findByPrimaryKey
public HomeObj findByPrimaryKey(java.lang.String name)
throws javax.ejb.FinderException,
java.rmi.RemoteException
- Dummy find by primary key.
hello
public java.lang.String hello()
throws java.rmi.RemoteException
- Returns hello, world.
add
public int add(int a,
int b)
throws java.rmi.RemoteException
- Adds two numbers.