I'm trying to migrate some EJBs from a weblogic server to JBoss 3.2.0. I was curious to know if there is something in JBoss roughly equivalent to weblogic's T3StartupDef. For example, after my EJBs are loaded but before the server is fully active I would like to run a startup class to initialize application wide params which are not tied to a specific EJB. Is there a way to implement this type of startup hook in JBoss? If something like this is possible, is there any way to tell JBoss to shut itself down if this startup hook fails?