Here is the issue:
I have an EJB 3.0 application running on JBoss 4.0.5-GA. Wjat I need is a class that ruins right after server start-up deployment. Seems that MBeans is what I need.
So I wrote an MBean class and its interface based on the JBoss wiki tutorial and what I cannot do is make this class only a separate SAR file in my project. When I downloaded the wiki-tutorial sample code it worked perfectly but it's no good to me because I need this MBean class to call other EJB classes kinda like a scheduler.
Any help would be much appreciated.