I'm using JBoss 3.2.3 and I'm trying to make a new custom J2EE component compatible with an older version. The new version moved business code behind EJBs.

Unfortunately, some applications that used the older version try to invoke the business code before the EJB containing the code is bound in JDNI, causing javax.naming.NameNotFoundExceptions at startup.

I'd like to be able to have these apps wait for the new custom component to fully deploy before they are deployed without having to modify the apps or the JBoss configuration. Any suggestions on how to get my component to deploy first? Thanks.