I'm trying to write J2EE code in a way that it's independent from the application server solution. So, a question arises when deciding about the logging subsystem: is it ok to directly use Log4j interfaces or is it better to use the JBoss logging wrapper? Does this wrapper give more functionality or is it only a isolation layer for Log4j? Thanks in advance,
Why would you use jboss specific code if you want portability?
Although you can take the jboss classes and include them in your application
on other app servers.
The main additional functionality is the support for TRACE logging.