User: user57
Date: 02/02/14 22:15:50
Modified: src/main/org/jboss/test/bank/ejb BankBean.java
TellerBean.java
Log:
o replaced most System.out usage with Log4j. should really introduce
some base classes to make this mess more maintainable...
Revision Changes Path
1.3 +7 -4 jbosstest/src/main/org/jboss/test/bank/ejb/BankBean.java
Index: BankBean.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/ejb/BankBean.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BankBean.java 7 Jan 2001 23:14:34 -0000 1.2
+++ BankBean.java 15 Feb 2002 06:15:50 -0000 1.3
@@ -14,8 +14,8 @@
/**
*
* @see <related>
- * @author $Author: peter $
- * @version $Revision: 1.2 $
+ * @author $Author: user57 $
+ * @version $Revision: 1.3 $
*/
public class BankBean
extends SessionSupport
@@ -59,17 +59,21 @@
id = (String)new InitialContext().lookup(ID);
} catch (Exception e)
{
- System.out.println(e);
+ log.debug(e);
throw new EJBException(e);
}
}
}
/*
- * $Id: BankBean.java,v 1.2 2001/01/07 23:14:34 peter Exp $
+ * $Id: BankBean.java,v 1.3 2002/02/15 06:15:50 user57 Exp $
* Currently locked by:$Locker: $
* Revision:
* $Log: BankBean.java,v $
+ * Revision 1.3 2002/02/15 06:15:50 user57
+ * o replaced most System.out usage with Log4j. should really introduce
+ * some base classes to make this mess more maintainable...
+ *
* Revision 1.2 2001/01/07 23:14:34 peter
* Trying to get JAAS to work within test suite.
*
1.6 +7 -4 jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java
Index: TellerBean.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TellerBean.java 19 Aug 2001 14:45:20 -0000 1.5
+++ TellerBean.java 15 Feb 2002 06:15:50 -0000 1.6
@@ -17,8 +17,8 @@
/**
*
* @see <related>
- * @author $Author: d_jencks $
- * @version $Revision: 1.5 $
+ * @author $Author: user57 $
+ * @version $Revision: 1.6 $
*/
public class TellerBean
extends SessionSupport
@@ -120,7 +120,7 @@
Bank bank = bankHome.create();
Customer cust = home.create(bank.createCustomerId(), name);
- System.out.println("Customer created");
+ log.debug("Customer created");
return cust;
} catch (Exception e)
{
@@ -140,10 +140,14 @@
}
}
/*
- * $Id: TellerBean.java,v 1.5 2001/08/19 14:45:20 d_jencks Exp $
+ * $Id: TellerBean.java,v 1.6 2002/02/15 06:15:50 user57 Exp $
* Currently locked by:$Locker: $
* Revision:
* $Log: TellerBean.java,v $
+ * Revision 1.6 2002/02/15 06:15:50 user57
+ * o replaced most System.out usage with Log4j. should really introduce
+ * some base classes to make this mess more maintainable...
+ *
* Revision 1.5 2001/08/19 14:45:20 d_jencks
* Modified TellerBean to use log4j logging
*
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development