my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Application Startup Class" Watch "Application Startup Class" New topic
Author

Application Startup Class

Jyotika Kapoor
Greenhorn

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

Jyotika
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9955
    
163

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

CreateAStartupClass

ExampleHelloWorldService

[My Blog] [JavaRanch Journal]
 
Don't get me started about those stupid light bulbs.
 
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