users@glassfish.java.net

Re: access glassfish thread pool

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 28 Sep 2012 10:56:45 -0700

On Fri, Sep 28, 2012 at 2:46 AM, Nicolas Beck <Nicolas-Beck_at_gmx.de> wrote:

> I want to use the glassfish Threadpool since creating own threads within
> my jee application is not avoidable. Since glassfish API changed it is not
> possible to use spring frameworks GlassFishWorkManagerTaskExecut**or any
> more for this [http://forum.springsource.**org/showthread.php?85272-**
> GlassFishWorkManagerTaskExecut**or-spring-and-glassfish-v3-**exception<http://forum.springsource.org/showthread.php?85272-GlassFishWorkManagerTaskExecutor-spring-and-glassfish-v3-exception>
> ]
> But there must be a way to have access to the thread pool. I can't
> understand why this is so restrictive?
>

https://github.com/ljnelson/edugility-executorservice-ejb might help you
out.

Best,
Laird

-- 
http://about.me/lairdnelson