aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9317
    
109

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

CreateAStartupClass

ExampleHelloWorldService

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