Tagged: Java

How to design Java Application shutdown hook 0

How to design Java Application shutdown hook

Simple shutdown hooks can often be written as anonymous inner classes, as in this example: This idiom is fine as long as you’ll never need to cancel the hook, in which case you’d need to save a reference to the hook when you create it. More about Java Application shutdown hook design

0

Log Analyzer for Log4j – Chainsaw

We have been using the Log4j for logging since years. Log4j is pretty matured. The log4j developers add something new every time they release a version.Now Log4j has the capability of logging into anything and everything. You can log the events in to file system ( simple or xml) or database on JDBC...