Tag Archives: Servlet

Log4j 2 configuration depending on environment

In a recent project, we used Log4j 2 as a backend for slf4j. Logging is configured differently for the local application start than for production. To do this, we used to have one configuration per environment and a piece of … Continue reading

Posted in Did you know? | Tagged , , , | 3 Comments

Spring Session 1.0 released

A few days ago, Spring Session 1.0 has been released. According to the project page, it provides the following functionality: API and implementations (i.e. Redis) for managing a user’s session HttpSession – allows replacing the HttpSession in an application container … Continue reading

Posted in Spring Universe | Tagged , , , , , | Leave a comment

Using the context path of a web-app as log filename with Log4J

If you have a web application which you want to deploy more than once to a single servlet container you have the problem of separating your log files for the different web app instances. This is because the log configuration … Continue reading

Posted in Build, config and deploy | Tagged , , | 4 Comments

Java EE 7 (JSR-342) is final

With some lateness, the specification for Java EE 7 (JSR 342) went final today, about three years after the release of Java EE 6. Without cloud features and a caching API, it comes with a big support for building HTML5 … Continue reading

Posted in Java EE, Java Persistence, Java Web Frameworks, Politics | Tagged , , , , , , , , , | 1 Comment