users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Server sided use of JAX-RS client API: Valid in which server sided components?

From: Markus KARG <markus_at_headcrashing.eu>
Date: Thu, 28 Jun 2012 22:20:00 +0200

Well, Java EE IS rather clear (no blocking, no sockets, no files, no
threads), that's why I started this thread. I think that there should be
clear words in the JAX-RS spec about usage of the client inside of EJB
(which methods are not allowed in that context).

> -----Original Message-----
> From: Sergey Beryozkin [mailto:sberyozkin_at_talend.com]
> Sent: Donnerstag, 28. Juni 2012 10:44
> To: jsr339-experts_at_jax-rs-spec.java.net
> Subject: [jsr339-experts] Re: Server sided use of JAX-RS client API:
> Valid in which server sided components?
>
> On 27/06/12 18:46, Markus KARG wrote:
> >>> I cannot see a sensible solution at the moment.
> >>
> >> Solution for what ? I think supporting the client invocations in the
> >> context of the service request is simply to do with making a tool
> for
> >> the job available when it is actually needed.
> >>
> >> Cheers, Sergey
> >
> > Solution for the fact that Java EE components must not open sockets.
> >
> But the JAX-RS specification needs to be able to act as a stand-alone
> specification. Perhaps the spec EE profile might say something else in
> this regard
>
> Sergey