JSR 236 seems to be only way to create managed threads in Java EE servlet/ejb containers. I am working on a framework (piston - http://github.com/koyadume/piston-master) which I am supporting on tomcat only. Since this framework is based on Java EE 7, I can't use TomEE at this moment.
I would like to split some tasks in multiple parallel tasks in my framework. As it is advised not to create own threads in a Java EE servlet/containers, I would like to avoid using Java SE concurrency utilities to solve this issue. This is the issue which JSR 236 tries to solve. Hopefully this makes my intention clear. > Date: Mon, 24 Nov 2014 22:36:55 -0500 > Subject: Re: JSR 236 with tomcat 8 > From: john.d.am...@gmail.com > To: users@tomcat.apache.org > > Concurrency utils is specific to app servers, where applications are > generally unable to create or manage threads. This is an old EJB > limitation. > > This limitation is not present in servlet containers. > > Why do you think you need them? > > On Mon, Nov 24, 2014 at 9:58 PM, shailendra singh > <shailendra...@outlook.com> wrote: > > Hi, > > > > I am looking for a way to use JSR 236 with tomcat 8. Can someone please > > suggest a way to achieve this? > > > > - Shailendra > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >