File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring a Startup class

 
Steven Wong
Ranch Hand
Posts: 295
  • 0
  • 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: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • 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
  • 0
  • 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.


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic