1 Reply Latest reply on Feb 6, 2017 4:44 PM by Frank Langelage

    [Best practice] Check a resource periodically

    Daniele Pizzagalli Newbie

      Hello,

      I have found myself thinking about a really common problem in IT.

       

      My application server needs to frequently check a remote web resource and call a bean when that resource changes.

      On a standalone Java application, I would normally solve this by creating a polling executor, but inside a very large JBoss instance is that wise?

      I found a lot of possible techniques around the web, but none of them actually let me feel harmonized with the AS structure.

       

      Do you have some tip that cloud help me solve this problem in the best way, using native JBoss configuration and library? (I am using Wildfly 8.1.Final)

       

      Thank you very much