Re: JAX-RS 2.1 released!
Will you keep us updated on IBM's implementation progress? :-) -Markus
From: jaxrs-spec@javaee.groups.io [mailto:jaxrs-spec@javaee.groups.io] On Behalf Of Andy McCright
Sent: Donnerstag, 24. August 2017 23:03 To: jaxrs-spec@javaee.groups.io Subject: Re: [jaxrs] JAX-RS 2.1 released!
Congratulations All!
It has been a pleasure working with you all on this, and I am looking forward to working with you again in the open source.
Now it is time to implement this spec! :-)
Thanks!
Andy
|
|
Re: JAX-RS 2.1 released!
Sergey Beryozkin
Hi Pavel
toggle quoted messageShow quoted text
Nice work - thanks for taking over from Marek and being as great as Marek was :-), being friendly, responsive and patient Hi Santiago - thanks for your continuing leadership of this effort Sergey
On 24/08/17 14:48, Pavel Bucek wrote:
Dear experts,
|
|
Re: JAX-RS 2.1 released!
Great job, guys!
Ah! Following Arjan, +1 for further or even totally integrate with CDI in the next release.
|
|
Re: JAX-RS 2.1 released!
Andy McCright
Congratulations All!
It has been a pleasure working with you all on this, and I am looking forward to working with you again in the open source.
Now it is time to implement this spec! :-)
Thanks!
Andy
J. Andrew McCright IBM WebSphere Development +1 507 253 7448 TL 553-7448 andymc@...
----- Original message -----
|
|
Re: JAX-RS 2.1 released!
On Thu, Aug 24, 2017 at 09:09 am, Markus KARG wrote:
Congratulations! When do we start with JAX-RS 2.2? ;-)Good question indeed. I'd say that even without a JSR we can already discuss our wishlists, can't we? My nr 1 item; further or even totally integrate with CDI ;) Kind regards, Arjan
|
|
Re: JAX-RS 2.1 released!
Congratulations! When do we start with JAX-RS 2.2? ;-)
toggle quoted messageShow quoted text
-----Original Message-----
From: jaxrs-spec@javaee.groups.io [mailto:jaxrs-spec@javaee.groups.io] On Behalf Of Pavel Bucek Sent: Donnerstag, 24. August 2017 15:49 To: jaxrs-spec@javaee.groups.io Subject: [jaxrs] JAX-RS 2.1 released! Dear experts, it's our pleasure to announce that JAX-RS 2.1 was officially released, see https://www.jcp.org/en/jsr/detail?id=370. Thanks everyone for participating! Feel free to share this message anywhere, write a blog post, speak about JAX-RS on conferences.. use whatever channel you think is relevant. Reference implementation is Jersey in version 2.26, currently available on java.net promoted maven repository [1]; it will be soon released to maven central. Best regards, Pavel & Santiago [1] https://maven.java.net/content/repositories/promoted/
|
|
Re: JAX-RS 2.1 released!
Guillermo González de Agüero
Congratulations and thanks Pavel, Santiago and everyone involved on this release!
toggle quoted messageShow quoted text
Now that the spec is complete, any plans to move the JAX-RS repositories under the Java EE organization? Regards, Guillermo González de Agüero
El jue., 24 de agosto de 2017 15:46, Pavel Bucek <pavel.bucek@...> escribió: Dear experts,
|
|
JAX-RS 2.1 released!
Pavel Bucek
Dear experts,
it's our pleasure to announce that JAX-RS 2.1 was officially released, see https://www.jcp.org/en/jsr/detail?id=370. Thanks everyone for participating! Feel free to share this message anywhere, write a blog post, speak about JAX-RS on conferences.. use whatever channel you think is relevant. Reference implementation is Jersey in version 2.26, currently available on java.net promoted maven repository [1]; it will be soon released to maven central. Best regards, Pavel & Santiago [1] https://maven.java.net/content/repositories/promoted/
|
|
Re: Question on CompletionStage
Sergey Beryozkin
Hi Pavel
On 22/08/17 17:29, Pavel Bucek wrote: You are right technically having MBW<Observable> is a possibility but practically speaking I can't see anyone doing it, though this is how I started from myself, but it might only work for something like Observable.just("Hello World")
Yeah, lets go beyond the spec limits a bit :-) Thanks, Sergey
|
|
Re: Question on CompletionStage
I think it make sense to file this as an issue for JAX-RS 2.2 / 3.0, so a future specification will align CXF and Jersey and give application developers safety how things shall work.
From: jaxrs-spec@javaee.groups.io [mailto:jaxrs-spec@javaee.groups.io] On Behalf Of Pavel Bucek
Sent: Dienstag, 22. August 2017 18:29 To: jaxrs-spec@javaee.groups.io Subject: Re: [jaxrs] Question on CompletionStage
Hi Sergey, I guess that's fine, unless someone registers MessageBodyWriter for Observable, which might then now work properly. I'm not saying that because I think that it shouldn't be done, its just something which is not defined by the specification and JAX-RS user can't rely on this to work everywhere. // and I'm certainly not saying that we won't do something like that for Jersey :) Thanks and regards,
On 22/08/2017 16:58, Sergey Beryozkin wrote:
|
|
Re: Question on CompletionStage
Pavel Bucek
Hi Sergey, I guess that's fine, unless someone registers MessageBodyWriter
for Observable, which might then now work properly. I'm not saying that because I think that it shouldn't be done, its just something which is not defined by the specification and JAX-RS user can't rely on this to work everywhere. // and I'm certainly not saying that we won't do something like that for Jersey :) Thanks and regards,
On 22/08/2017 16:58, Sergey Beryozkin
wrote:
|
|
Re: Question on CompletionStage
Sergey Beryozkin
Hi Pavel FYI, in CXF returning Observable will be handled similarly to returning CompletionStage Cheers, Sergey
On 22/08/17 09:06, Pavel Bucek wrote:
|
|
Re: Question on CompletionStage
Pavel Bucek
Hi Markus, confirming what you wrote would be extending of what is pretty explicitly written in the spec, so I can't do that. Currently, the behavior is "defined" by what AsyncResponse provides and there is nothing like you mentioned there, so I don't think that the usecase you described is supported - returned Observable (or any other type) will be processed as any other type, so the pipeline will be triggered right after the object is returned from the resource method. Returning CompletionStage is equal to invoking
AsyncResponse#resume in CompletionStage#whenComplete callback,
nothing more, nothing less.. Regards,
On 18/08/2017 17:23, Markus KARG wrote:
|
|
Question on CompletionStage
Pavel,
as the spec does not explicitly mention it, can you please confirm that what the spec actually wants to say is that CompletionStage does not only imply async when declared as a method's return type, but also when CompletionStage is de-facto returned by a method or by a interceptor (i. e. the method itself is not declared to return CompletionStage, but might return Object and an interceptor produces a CompletionStage from that)? This would allow framework providers to provide "JAX-RS adapter" like an interceptor turning RxJava's Observable into Java 8's CompletionStage. The spec is a bit short here.
Thanks -Markus
|
|
Re: Final API Publication
Sergey Beryozkin
Hi Pavel
toggle quoted messageShow quoted text
Thanks, it is in Central now Sergey
On 07/08/17 06:32, Pavel Bucek wrote:
I'm sorry for the delay.
|
|
Re: Final API Publication
Pavel Bucek
I'm sorry for the delay.
toggle quoted messageShow quoted text
I believe I'll be able release the API to be published to maven central today. (If you need it now, feel free to use: https://maven.java.net/content/repositories/promoted/javax/ws/rs/javax.ws.rs-api/2.1/ Regards, Pavel
On 04/08/2017 15:36, Pavel Bucek wrote:
Hi Sergey,
|
|
Re: Final API Publication
Pavel Bucek
Hi Sergey,
toggle quoted messageShow quoted text
it will be .. soon. I'm aiming for today / this weekend. Regards, Pavel
On 04/08/2017 14:46, Sergey Beryozkin wrote:
Hi Pavel
|
|
Final API Publication
Sergey Beryozkin
Hi Pavel
When will the final API be published to Maven Central ? 31 July was the finish of the Final Approval Ballot Thanks, Sergey
|
|
Status of JAX-RS 2.1 Implementations
Last thursday I gave a talk on JAX-RS 2.1 at JFS2017 conference using Jersey 2.26. One question was what the status of the JAX-RS implementations is _besides_ Jersey. Hence I would like to kindly ask for a short "official" statement on the current status and scheduled GA for JAX-RS 2.1 in (at least) the propducts of the EG members and / or other vendors:
* Apache * Red Hat * Payara * IBM * Oracle non-pure-Jersey * others
Please note that the intention is to publish these statements for the sake of public announcement of JAX-RS 2.1 cross-industry support.
thanks -Markus
|
|
Re: Proposed Final Draft
Sergey Beryozkin
I thought I'd check the docs first
before asking, and obviously I missed this one: https://github.com/jax-rs/api/blob/master/jaxrs-api/src/main/java/javax/ws/rs/client/ClientBuilder.java#L275 :-) Thanks, Sergey
On 11/07/17 11:59, Pavel Bucek wrote:
|
|