users@glassfish.java.net

[gf-users] Re: Running custom code on GF thread pools

From: Phillip Ross <phillip.w.g.ross_at_gmail.com>
Date: Mon, 11 May 2015 18:18:43 -0400

Hi Pawel... I have a feeling you're looking for JEE Concurrency Utilities.
This is "new" in JEE7/Glassfish4.x.

Hope that helps!
- Phillip

On Mon, May 11, 2015 at 5:40 PM, Pawel Veselov <pawel.veselov_at_gmail.com> wrote:
> Hi.
>
> What's the proper way of scheduling work on threads from existing GF thread
> pools? I've been trawling the net for this, and I can find bits and pieces
> saying it's sort of possible, but no direct references on how.
>
> E.g.
> - how to create JNDI reference to a specific (named) thread pool?
> - What is the API that the resource is compliant too (J2EE executor, JDK
> executor, GF specific)?
>
> Thank you,
> Pawel.
>