This content has been marked as final.
Show 3 replies
-
1. Re: log4j use in stateful session bean
adrian.brock Aug 29, 2002 9:17 AM (in response to bakerloo)Make your logger static
public class MyBean implements SessionBean
{
private static final Logger log = Logger.getLogger(MyBean.class);
...
} -
2. Re: log4j use in stateful session bean
bakerloo Aug 29, 2002 9:25 AM (in response to bakerloo)Thanks!
Do you mean that if an attribute is static final in a Stateful session bean class, it will not be passivate? -
3. Re: log4j use in stateful session bean
adrian.brock Aug 29, 2002 10:14 AM (in response to bakerloo)static belongs to the class not the object state.
Regards,
Adrian