File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Configuring a Startup class

Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295

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?


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

Joined: Jul 20, 2005
Posts: 10441

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

Also, here's a sample Startup class:

Section- Writing a StartupClass at:

Startup class in JBoss

[My Blog] [JavaRanch Journal]
Jyotika Kapoor

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:
subject: Configuring a Startup class
It's not a secret anymore!