Thursday, 21 June 2007

How to use log4j for EJB?

Log4j doesn't have a default initializing process? yes or no I am not sure right now.
Log4j call BasicConfigurator.configure(), for instance, to initialize the log4j.

For standard java application, we can implement this initialize process in main class.

For a web app, we can define a ServletContextListener implementation to do the initialization work when my web app is loaded. Is there anything similar for EJB?

The question how do this for EJBs?

No comments:

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...