1 package example.cmp.many2one;2 3 import java.rmi.*;4 import java.util.*;5 import javax.ejb.*;6 7 8 /**9 * Remote interface for a student instance.10 */11 public interface Student extends EJBLocalObject {12 /**13 * Returns the student's name.14 */15 String getName();16 /**17 * Returns the student's house18 */19 House getHouse();20 /**21 * Sets the student's house22 */23 void setHouse(House house);24 }25