1 Reply Latest reply on Jun 8, 2005 2:33 PM by Jason Taylor

    Run On Startup

    Kevin Smith Newbie

      First off, I'm pretty new to JBoss. I'm using jboss-4.0.1sp1. I'm writing a fairly simple application and I want to run a servlet that will initialize my hibernate configuration. I think the way to do this is by running a servlet on startup in Jboss. However, I'm not sure how to do this. I think I'm looking for the equivalent to what exists in Tomcat's web.xml file where you can specify <load-on-startup>5</load-on-startup> inside a servlet element.