Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring a Startup class

 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jyotika Kapoor
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic