Skip to main content

[jsr339-experts] Re: [jax-rs-spec users] Re: JSR 236 Update

  • From: "Markus KARG" <markus@...>
  • To: <jsr339-experts@...>
  • Subject: [jsr339-experts] Re: [jax-rs-spec users] Re: JSR 236 Update
  • Date: Sat, 2 Feb 2013 00:14:18 +0100
  • Organization: HeadCrash

> > Indeed this looks primising and removes some of the caveats I
> > mentioned with threads in EJBs. So will the JSR 339 spec get
> > overhauled by replacing "normal" executors by managed ones?
> > Particularly the examples showing how to use executors should be
> > changed so people will understand that they should use managed ones
> in non-SE environments.
> 
>  We could at least include a reference to this spec. Note that the
> current spec does not show any code related to the creation of
> executors, it assumes they were created elsewhere. In any case, I will
> update that section to mention 236.
> 
> -- Santiago

Actually page 47 of the public draft showed a code example which utilizes
Executors.newSingleThreadExecutor. As you remember, I complained that this
is invalid in an EJB scenario. So the new managed executor could be used
here instead.



[jsr339-experts] Re: [jax-rs-spec users] Re: JSR 236 Update

Markus KARG 02/01/2013

[jsr339-experts] Re: [jax-rs-spec users] Re: Re: JSR 236 Update

Santiago Pericas-Geertsen 02/03/2013

[jsr339-experts] Re: [jax-rs-spec users] Re: Re: JSR 236 Update

Markus KARG 02/03/2013
 
 
Close
loading
Please Confirm
Close