Adam Bien's Weblog

EJBs As Executors In JavaEE 6

In JavaEE 6 you cannot inject Executors (yet). However, an one-liner EJB-Decorator can asynchronously execute any passed Runnable:

See also other screencasts at: or subscribe to

See you at Java EE Workshops at MUC Airport or on demand and in a location very near you:!

NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments