@javax.ejb.Schedule in JBoss EAP 5

Solution Unverified - Updated -

Issue

  • I'd like to do something like the following, but it appears to be unsupported in JBoss EAP 5.2.0. Is there a straightforward substitute available in JBoss EAP 5.2.0?
import javax.ejb.Schedule;
import javax.ejb.Stateless;

@Stateless
public class MyEJB {
    @Schedule(minute="*", hour="*")
    public void test()  {
        log.info("test() invoked");
    }
}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.