[jboss-user] [Beginner's Corner] - Re: Adding logic during jboss application startup

jaikiran pai do-not-reply at jboss.com
Tue Sep 6 09:56:53 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Adding logic during jboss application startup"

To view the discussion, visit: http://community.jboss.org/message/625039#625039

--------------------------------------------------------------
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
[http://community.jboss.org/message/625039#625039]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110906/6950d20f/attachment.html 


More information about the jboss-user mailing list