This question is more about extending the tomcat and not about using the 
tomcat. So I posted it to this mailing list.

It will be really helpful if some guidelines can be published to help people 
understand when they should post their questions to this mailing list. Don't 
want to bother the dev team unless its absolutely required.

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

> Date: Tue, 25 Nov 2014 11:38:51 +0000
> From: ma...@apache.org
> To: dev@tomcat.apache.org
> Subject: Re: FW: JSR 236 with tomcat 8
> 
> On 25/11/2014 10:54, shailendra singh wrote:
> > 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.
> 
> Nope. This belongs on the users list, not the dev list.
> 
> Mark
> 
> > 
> > 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