At present, to get a log4j logger you call a static method on the LoggerClass.

However, a J2eeComponent running inside a J2eeContainer really should be getting all of its services from JavaJndi, that is: any means by which it interacts with the outside world.

What log4j needs, then is a "resource archive" (.RAR) and some protocols.

So I suggest the following:

Now, at present we can write a connector that does nothing by call the existing Logger static methods. The important thing is to establish the use of LoggerSource and the JNDI name.

Once that is in place, then we can look at things like:

In concert with this, accesses to the filesystem ought also be done by JNDI. GPS Tracker Mobil | GPS Tracking Kapal | GPS Tracker Orang

J2EE (last edited 2013-03-07 03:39:38 by tonyguards)