Java EE 7 Concurrency Utilities Example (managed thread executor) in JBoss EAP 7

Solution Verified - Updated -

Issue

  • How to use the JavaEE 7 Concurrency Utilities in JBoss EAP 7?
  • How to create a managed thread in JBoss EAP 7?
  • Example of the managed thread executor , managed thread factory , managed scheduled thread executor in JBoss EAP 7
  • We need to create threads from java code inside JBoss EAP. In Jboss EAP 6 we use asynchronous EJBs because there are not implementations of Work Managers outside resource adapters and the use of executors is disalowed. What alternatives do we have in JBoss EAP7?
  • I want to know the different possibilities I have to create new threads on JBoss EAP7. Beside this, I want to know the recommended way to do parallel processing.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content