Hi,

Thank you for first responding to my similar query on your blog and then here.

- Shailendra
http://in.linkedin.com/in/lnkshailendra
http://github.com/koyadume
http://pistonportal.wordpress.com

> From: rmannibu...@gmail.com
> Date: Tue, 25 Nov 2014 12:02:50 +0100
> Subject: Re: FW: JSR 236 with tomcat 8
> To: dev@tomcat.apache.org
> 
> Hi
> 
> Tomcat doesn't prevent you to use threads so you can use whatever you
> want like ExecutorServices etc...
> 
> 
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
> 
> 
> 2014-11-25 11:57 GMT+01:00 Jean-Louis MONTEIRO <jeano...@gmail.com>:
> > Hi,
> >
> > works out of the box in TomEE.
> >
> > JLouis
> >
> > Le Tue Nov 25 2014 at 11:55:42, shailendra singh <shailendra...@outlook.com>
> > a écrit :
> >
> >> After posting my question to Tomcat users mailing list I realized that I
> >> should have posted my question to this mailing list.  Hence this email.
> >>
> >> Some of the information is already mentioned in my previous email which I
> >> sent to Tomcat users mailing list.
> >>
> >> Basically I am trying to figure out what is the proper way to do multi
> >> threading in a servlet container like tomcat.  Java EE spec mentions that
> >> it should be done using JSR 236 api but I am unable to find a way to do so
> >> as it seems that available implementations for this JSR have dependency on
> >> EJB api. So if JSR 236 is for doing multi threading in an application
> >> server then what is/are the options for servlet containers like tomcat?
> >>
> >> - Shailendra
> >>
> >> From: shailendra...@outlook.com
> >> To: us...@tomcat.apache.org
> >> Subject: RE: JSR 236 with tomcat 8
> >> Date: Tue, 25 Nov 2014 05:53:46 +0000
> >>
> >>
> >>
> >>
> >> 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: us...@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
> >> >
> >>
> >>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 
                                          

Reply via email to