File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Configuring a Startup class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configuring a Startup class" Watch "Configuring a Startup class" New topic
Author

Configuring a Startup class

Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
Hi,

I need to create a startup class in JBoss. Can anyone share with me how this can be done? What are the configurations that need to be done in JBoss?

thanks!


best regards,<br />Steven<br />SCJP, SCEA
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

You can use a MBean. Here's a example:
ExampleHelloWorldService

Also, here's a sample Startup class:

Section- Writing a StartupClass at:

Startup class in JBoss


[My Blog] [JavaRanch Journal]
Jyotika Kapoor
Greenhorn

Joined: Apr 25, 2009
Posts: 19
hi all,

Can we make this flow asynchronous ; in my case the start up class will trigger a cache to get loaded in memory ; i want to make this flow asynchronous. How can we do it .


Thanks in advance.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring a Startup class