Package test.interfaces

Examples of test.interfaces.AddressLocalHome


     *    relation="external"
     *    type="java.util.Collection"
     */
    public java.util.Collection getShippingAddresses() {
        try {
            AddressLocalHome home = (AddressLocalHome) new InitialContext().lookup("java:comp/env/ejb/bank/Address");
            return home.findByOwner((Customer) ctx.getEJBObject());
        }
        catch (Exception e) {
            throw new EJBException(e);
        }
    }
View Full Code Here

TOP

Related Classes of test.interfaces.AddressLocalHome

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.