Examples of CreditRemote


Examples of org.jboss.narayana.blacktie.examples.integration1.ejb.CreditRemote

    short amount = rcv.getShort("amount");

    String resp = "NAMINGERROR";
    try {
      Context ctx = new InitialContext();
      CreditRemote bean = (CreditRemote) ctx.lookup("CreditBean/remote");
      log.debug("resolved CreditBean");
      resp = bean.credit(acct_no, amount);
    } catch (NamingException e) {
      log.error("Got a naming error: " + e.getMessage(), e);
    }
    log.trace("Returning: " + resp);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.