JBoss Community

Re: Adding logic during jboss application startup

created by jaikiran pai in Beginner's Corner - View the full discussion

However, in Java EE6 you can use a @Startup @Singleton bean to do that.

 

As for Java EE5, you can use a ServletContextListener (or even a load-on-startup servlet) to achieve the same.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community