Package

Examples of EnrollerHome


                                            CourseHome.class);

           Course power = cHome.create("220", "Power J2EE Programming");

           objref = initial.lookup("java:comp/env/ejb/SimpleEnroller");
           EnrollerHome eHome =
               (EnrollerHome)PortableRemoteObject.narrow(objref,
                                            EnrollerHome.class);

           Enroller enroller = eHome.create();
           enroller.enroll("823", "220");
           enroller.enroll("823", "333");
           enroller.enroll("823", "777");
           enroller.enroll("456", "777");
           enroller.enroll("388", "777");
View Full Code Here

TOP

Related Classes of EnrollerHome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.