adopt-a-jsr mar 1 2017 jax-rs update

Download Adopt-a-jsr Mar 1 2017 JAX-RS update

If you can't read please download the document

Upload: pavel-bucek

Post on 12-Apr-2017

124 views

Category:

Software


0 download

TRANSCRIPT

Java-16x9-2017

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

1

JSR 370: JAX-RS 2.1Progress update

Pavel Bucek

Oracle CorporationMarch 01, 2017

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |This is a Title Slide with Java Graphic Theme ideal for including a brief title, subtitle and presenter information.

Do not customize this slide with your own picture.

To reuse this branded background in another presentation on PCLocate and open the presentation where you will be placing this artwork. Click New Slide from the Home tab's Slides group and select Reuse Slides.Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy.Check Keep Source Formatting and click the slide that contains the background you want.Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates.

To reuse this branded background in another presentation on MacLocate and open the presentation where you will be placing this artwork. Click New Slide from the Home tab's Slides group and select Insert Slides from Other PresentationNavigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box.Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides.Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates.2

3

Safe Harbor StatementThe following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template.

One of the Safe Harbor slides must be used if your presentation covers material affected by Oracles Revenue Recognition Policy

To learn more about this policy, e-mail: [email protected]

For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.

http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf

For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.3

Spec leads (Oracle)Santiago Pericas-GeertsenPavel Bucek

MembersAdam BienSebastian DaschnerAndy McCright (IBM)Markus KargMarcos LunaAlessio Soldano (Red Hat)Julian ReschkeSergey Beryozkin (Talend SA)Casey Lee (Vision Service Plan)

4JAX-RS EG

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |Program AgendaReactive ClientServer Sent Events (SSE)Java 9 readinessHow can you help?Roadmap12345

5

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

5

Enables easy use of the reactive programming style on the client sideCompletionStage (Java SE 8)Provides lots of functionalitycs.thenCombine()Pluggable support for other frameworks (RxJava, ..)Confidential Oracle Internal6JAX-RS Client Rx API

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |JAX-RS Client Rx API - PluggabilityRegister RxInvokerProviderRx(RxInvokerSubclass.class)Confidential Oracle Internal7

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |Support for SSEServerManaging individual clients or grouping them into broadcast domainsReusing MessageBodyWriter to produce event bodyClientAccessing SSE endpoints / resourcesReusing MessageBodyReader to parse event body

Confidential Oracle Internal8JAX-RS Server Sent EventsClientSseEventSource (publisher)InboundSseEventServerSseBroadcaster (publisher)SseEventsink (subscriber)SseOutboundSseEventCommonSseSubscription, SseEvent

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |JAX-RS Server Sent Events serverConfidential Oracle Internal9

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |JAX-RS Server Sent Events clientConfidential Oracle Internal10

Client event subscriberClient event publisher

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |JAX-RS Java 9 readinessAdded module-info.javaJAX-RS API project build enhancementsWhen built with Java 9, module-info.class is added, rest is compiled with Java 8TODO:Service loader(spec defines exact algorithm)Confidential Oracle Internal11

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |How can you help?EvangelismConference talks, blog posts, examples, test how the API feels like when used in real world applicationsTesting the RI Jerseyhttps://jersey.java.net/https://java.net/jira/browse/JERSEYReactive Client is done (2.26-b02), SSE will be ready soon (as 2.26-b03)Submit bugs/improvementshttps://java.net/jira/browse/[email protected]://jax-rs-spec.java.net/

12

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |JAX-RS 2.1 milestone releasesConfidential Oracle Highly RestrictedJAX-RS 2.1-m01 Sep 14, 2016 - initial milestoneJAX-RS 2.1-m02 Jan 13, 2017 - Reactive Client API draftJAX-RS 2.1-m03 Jan 23, 2017 - Incorporated feedback to Reactive clientJAX-RS 2.1-m04 Feb 10, 2017 - SSE API draftJAX-RS 2.1-m05 Feb 24, 2017 - Incorporated feedback to SSE API, EDR

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |Proposed featuresBig ItemsClient RX Server Sent Events Non-blocking I/O in progressOther ImprovementsSpec Integration ImprovementsJSON-B, Servlet 4, Bean Validation not started yet.Java SE 9 Module System Support

PlanningEarly Draft Review 02-03/2017 in progressPublic Review 04-05/2017Public Final Draft Ballot 06/2017JAX-RS 2.1 Final Release B07/2017

Confidential Oracle Highly RestrictedJAX-RS 2.1 Roadmap

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

15

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

15

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

16

Copyright 2017, Oracle and/or its affiliates. All rights reserved. |

17