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?
Subscribe to:
Post Comments (Atom)
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...
-
The strictfp keyword is used to force the precision of floating point calculations (float or double) in Java conform to IEEE’s 754 standard...
-
As the name implies, an anonymous inner class isn’t defined using an explicit name. An anonymous inner class is created when you combine ins...
-
In construction. Spring test annotations: @SpringBooTest @DataJpaTest @TestPropertySource @ActiveProfiles @Sql @SpringBootTest It is used f...
No comments:
Post a Comment