Re: Application-accesible Executors

2020-09-22 Thread Romain Manni-Bucau
Le mar. 22 sept. 2020 à 08:54, Martin Grigorov a écrit : > Hi Chris, > > On Fri, Sep 18, 2020 at 7:10 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > All, > > > > I've recently been thinking about application uses of servlet-async and > > Websocket for long-running operation

Re: Application-accesible Executors

2020-09-21 Thread Martin Grigorov
Hi Chris, On Fri, Sep 18, 2020 at 7:10 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > > I've recently been thinking about application uses of servlet-async and > Websocket for long-running operations, or really for any interactions > where you want to allow the request-pro

Re: Application-accesible Executors

2020-09-18 Thread Romain Manni-Bucau
Hi Chris, Isn't it EE concurrency utilities? executors are injectable and designed to be used by the app and managed by the container. you can find an impl (for sample purposes) in https://github.com/apache/tomee/tree/master/container/openejb-core/src/main/java/org/apache/openejb/threads, then it

Application-accesible Executors

2020-09-18 Thread Christopher Schultz
All, I've recently been thinking about application uses of servlet-async and Websocket for long-running operations, or really for any interactions where you want to allow the request-processing thread to go back into the pool, but the application is still doing useful things and therefore needs it