Hi, Scott, I use Singleton pattern for this thread. The thread is a commandManager, all different commands will go to the manager to be processed(command pattern). so there is a while loop to check if there are commands coming in the manager.
in my mind, I thougt, when hot deploy, Jboss automatically kills all runnig threads first, then loads a new .ear, but it doesn't look like this way. I also did a simple test. after I started Jboss, and Jboss finished loading. the commandmanager was running. then I deleted the .ear. I found the thread was still running. Please help. Thank you. Chwang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927793#3927793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927793 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user