Can a WorkManager be looked up in JNDI and used directly?

Solution Verified - Updated -


  • Can the WorkManager be directly used in the application?
  • Is there something similar to WebLogic CommonJ Framework or WebLogic Work Manager API in JBoss EAP ?
  • Can a bean create the WorkManager as follows :
//get MBean Server
MBeanServer server = MBeanServerLocator.locateJBoss();
//get WorkManager
ObjectName objectName = new ObjectName("jboss.jca:service=WorkManager");
JBossWorkManagerMBean jwm = (JBossWorkManagerMBean)
WorkManager wm = jwm.getInstance();
//schedule Work for Execution
wm.scheduleWork(new SomeWork());
  • What the default-workmanager does in JBoss EAP ?
  • Is the JCA work manager related to the resource-adapter subsystem and if yes then how ?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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