File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to define some mehod for global resource initializtion and recycle in JBoss container!

 
kong song
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some customize data and process need to be initialized only once when Jboss AS is starting.
I have used some ejb Life Cycle Event to handle it,but the result seems not well.

so,How can I define some method or service for initializing global resource and container just only call once? and How about recycle such resource only when the container is closing.

Thanks!
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic