Version 3

    How do I create a startup class?

     

    On JBoss you should use an MBean and put the code in the

    startService

    method.

     

    I want it to run after other deployments are deployed

     

    Put it in the deploy.last subdirectory of deploy, create the subdirectory if

    it does not exist.

     

    Related

     

    Example MBean