CDI multithreading
问题 We want to optimize our application. There is some streight linear work going on, that can be executed in multiple threads with smaller working sets. Our typical service is accessed using the @Inject annotation from within our CDI-managed beans. Also such a service could have it's own dependencies injected, i.e.: public class MyService { @Inject private OtherService otherService; @Inject private DataService1 dataService1; ... public void doSomething() { ... } } Because I can not use @Inject