KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public interface Student extends EJBLocalObject {
11
12   /**
13    * Returns the student's name.
14    */

15   String getName();
16
17   /**
18    * Returns the student's grades. The grades are indexed by the
19    * courses.
20    */

21   Map getGrades();
22 }
23
Popular Tags