This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Application Startup Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Application Startup Class" Watch "Application Startup Class" New topic

Application Startup Class

Jyotika Kapoor

Joined: Apr 25, 2009
Posts: 19

Hi All,

Is there an application startup class also in JBOSS other than server startup class , the way we have it in web logic.

Thanks in advance

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9924

You can create a MBean and implement your startup functionality in the startService() method. See these:



[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Application Startup Class
Similar Threads
Loading a class at startup of WebSphere w/o using servlet
Servlet does not start when WL 11g is restarted
where can i initialize the global parameter?
Configure class in deployment jar as weblogic startup class
What is the purpose of the ContextLoaderListener