KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > example > cmp > map > StudentHome


1 package example.cmp.map;
2
3 import java.rmi.*;
4 import javax.ejb.*;
5
6 import java.util.*;
7
8 /**
9  * Home interface for the Student bean.
10  */

11 public interface StudentHome extends EJBLocalHome {
12   /**
13    * returns the <code>Student</code> entity that has <code>name</code>
14    * as its primary key.
15    */

16   public Student findByPrimaryKey(String name)
17     throws FinderException;
18   /**
19    * Returns all the students.
20    */

21   public Collection findAll()
22     throws FinderException;
23 }
24
Popular Tags