Package org.jboss.test.jca.bank.interfaces

Examples of org.jboss.test.jca.bank.interfaces.AccountHome


    */
   public Account createAccount(Integer id)
   {
      try
      {
         AccountHome home = (AccountHome)new InitialContext().lookup("Account");
         Account acct = home.create(id, 0, null);

         return acct;
      } catch (Exception e)
      {
         throw new EJBException("Could not create account", e);
View Full Code Here

TOP

Related Classes of org.jboss.test.jca.bank.interfaces.AccountHome

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.