RE: JSR 236 with tomcat 8

2014-12-05 Thread shailendra singh



Chris,

I simply responded to a comment from JLouis where he suggested me to go for 
TomEE for my requirement. I was not expecting response from any other person. 

So yes I asked for an information about TomEE on Tomcat mailing list but that 
question was for JLouis and not for any other person.

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

> Date: Fri, 28 Nov 2014 09:36:13 -0500
> From: ch...@christopherschultz.net
> To: dev@tomcat.apache.org
> Subject: Re: JSR 236 with tomcat 8
> 
> Shailendra,
> 
> On 11/26/14 5:16 AM, shailendra singh wrote:
> > Its like I am asking you for a candy and you are advising me to buy a
> > football because someone is giving candy free with a football.
> > 
> > Do you have a version of TomEE which is based on Java EE 7? I will be
> > happy to use it for testing my framework with a Java EE 7 compliant
> > application server.
> 
> Why are you asking about what TomEE supports on the Tomcat mailing list?
> 
> It's like you are asking a football seller to tell you about which
> candies taste the best.
> 
> Go ask on the TomEE mailing list whether they have plans to support Java
> EE 7 anytime soon.
> 
> -chris
> 
> >> From: jeano...@gmail.com Date: Tue, 25 Nov 2014 10:57:21 + 
> >> Subject: Re: FW: JSR 236 with tomcat 8 To: dev@tomcat.apache.org
> >> 
> >> Hi,
> >> 
> >> works out of the box in TomEE.
> >> 
> >> JLouis
> >> 
> >> Le Tue Nov 25 2014 at 11:55:42, shailendra singh
> >>  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 +
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 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 
> >>>>  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
> >>>> 
> >>> 
> >>> 
> > 
> > 
> 

  

RE: JSR 236 with tomcat 8

2014-11-26 Thread shailendra singh
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 +
> 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 +
> > 
> > 
> > 
> > 
> > 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
> >>  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
> 
  

RE: JSR 236 with tomcat 8

2014-11-26 Thread shailendra singh
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 :
> > Hi,
> >
> > works out of the box in TomEE.
> >
> > JLouis
> >
> > Le Tue Nov 25 2014 at 11:55:42, shailendra singh 
> > 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 +
> >>
> >>
> >>
> >>
> >> 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
> >> >  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
> 
  

RE: JSR 236 with tomcat 8

2014-11-26 Thread shailendra singh
Hi,

Its like I am asking you for a candy and you are advising me to buy a football 
because someone is giving candy free with a football.

Do you have a version of TomEE which is based on Java EE 7? I will be happy to 
use it for testing my framework with a Java EE 7 compliant application server.

- Shailendra

> From: jeano...@gmail.com
> Date: Tue, 25 Nov 2014 10:57:21 +
> Subject: Re: FW: JSR 236 with tomcat 8
> To: dev@tomcat.apache.org
> 
> Hi,
> 
> works out of the box in TomEE.
> 
> JLouis
> 
> Le Tue Nov 25 2014 at 11:55:42, shailendra singh 
> 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 +
> >
> >
> >
> >
> > 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
> > >  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
> > >
> >
> >
  

FW: JSR 236 with tomcat 8

2014-11-25 Thread shailendra singh
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 +




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
>  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
>