Package

Examples of ConfirmerHome


           String recipient = "murphy@cloverave.com";

           Context initial = new InitialContext();
           Object objref = initial.lookup("java:comp/env/ejb/SimpleConfirmer");

           ConfirmerHome home =
               (ConfirmerHome)PortableRemoteObject.narrow(objref,
                                            ConfirmerHome.class);

           Confirmer confirmer = home.create();
           confirmer.sendNotice(recipient);

           System.exit(0);

       } catch (Exception ex) {
View Full Code Here

TOP

Related Classes of ConfirmerHome

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.