KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > user > UserHome


1 /*
2  * UserHome.java
3  *
4  * Home Interface for UserBean
5  *
6  * @author: Devraj Mukherjee
7  *
8  * Created: 23rd June 2001
9  *
10  */

11
12  package freeforums.user;
13
14  import java.rmi.RemoteException JavaDoc;
15  import javax.ejb.*;
16  import java.util.Collection JavaDoc;
17
18  public interface UserHome extends EJBHome {
19
20      public User create(String JavaDoc username) throws RemoteException JavaDoc, CreateException;
21
22      public User findByPrimaryKey(String JavaDoc username) throws RemoteException JavaDoc, FinderException;
23
24      public Collection JavaDoc findAll() throws RemoteException JavaDoc, FinderException;
25
26  }
27
28
29
Popular Tags