This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 10441
    
176

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
 
jQuery in Action, 3rd edition