The following sample script can be added to your CLI scratchbook when you need to add a Logger on the fly for one package contained in your application.
A Thread pattern for JBoss Enterprise applications
Using Threads in your Enterprise applications has been traditionally discouraged as it might conflict with the Application Server’s own threads. Nevertheless with the introduction of the Asynchronous EJBs it is possible to explore new design patterns which allow managing your thread pool from within the EJB container. Important notice: this tutorial requires JBoss AS … Read more