Hi all, I'm developing a stateful EJB and I want to know how I should declare a logger member. I found in the article "Understanding Classloaders: log4j in a J2EE Environment" at http://www.onjava.com/pub/a/onjava/2003/04/02/log4j_ejb.html , there is an example about a stateful EJB and Log4J and the example is wrong. Because when the server (e.g. JBoss) serializes my EJB, I will have an exception (because Log is not Serializable). I'm thinking about using statis/transient modifier to avoid this problem, but I don't know which solution is better. Please help! Thanks.
Thai --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
