I have an application which has several "managers", which are just Java classes which extend Thread and contain business logic that must be executed once these files are deployed into JBoss.
What would be the most efficient method of accomplishing this? In the past, we used to use JBoss 2.4 and used some abstract combination of a EJB 2.1 stateless session bean which somehow invoked the run() methods of each of the managers at deploy time. However, now that we are upgrading to JBoss 4.0.2, we're trying to find a more efficient method of doing this.
Would appreciate any feedback, thank you!