0 Replies Latest reply on Aug 9, 2005 5:29 PM by mee meeeee

    running code on deployment

    mee meeeee Newbie

      Hello,
      I am running JbossAS 4.0.2
      I was wondering if there is a way to run a way to run a method from an SLSB or class on Jboss startup and deployment.

      I have tried using the 'Main-Class' jar attribute but it didn't seem to work.

      I just want to run some code that ensures that all scheduled tasks are setup correctly in the database when me application deploys. Is there any way to do this in Jboss ?

      Thank you in advance.