bringing reactive to enterprise java developers
play

Bringing Reactive to Enterprise Java Developers Julien Ponge, - PowerPoint PPT Presentation

Bringing Reactive to Enterprise Java Developers Julien Ponge, Thomas Segismont and Clement Escoffier Red Hat Hello! We work on Eclipse Vert.x , a toolkit for writing asynchronous and reactive applications on the JVM 2 Reactive Summit 2018


  1. Bringing Reactive to Enterprise Java Developers Julien Ponge, Thomas Segismont and Clement Escoffier Red Hat

  2. Hello! We work on Eclipse Vert.x , a toolkit for writing asynchronous and reactive applications on the JVM 2 Reactive Summit 2018

  3. (s�a��l��� p�u�) 50% off with mlponge code 3 Reactive Summit 2018

  4. 4 Reactive Summit 2018

  5. Introducing reactive to the EE world ...without breaking everything! Vert.x MicroProfile Jakarta EE 5 Reactive Summit 2018

  6. Times change quickly

  7. From Java EE to Jakarta EE Kafka Docker Microservices Serverless Node.js Vert.x Reactive Kubernetes manifesto ‘07 ‘09 ‘11 ‘12 ‘13 ‘14 ‘17 MVC 1.0 CDI Java EE 7 Java EE 8 JAX-RS (Java EE 6) 7 Reactive Summit 2018

  8. Java EE: a feet in the past Typical use-case Development model Execution model CRUD CDI (injection) Servlets Database with ORM JAX-RS (REST API) 1 thread per request JPA, Bean Validation, JTA, Management... 8 Reactive Summit 2018

  9. Not cloud-friendly , not reactive Based on the concept of application server 1 server = many applications ➔ Does not fit the “ cloud model” Small, lightweight applications ➔ Each service in its own process ➔ 9 Reactive Summit 2018

  10. Not cloud-friendly , not reactive Most of the model is synchronous except Asynchronous servlets ● CDI events ● Also: No stream support ➔ No back-pressure ➔ 10 Reactive Summit 2018

  11. A new hope? MicroProfile - the rogue child A new set of specs ➔ Microservice-friendly ➔ Very iterative ➔ Reactive working group! ➔ Jakarta EE New spec model ➔ Faster processes ➔ Growing interest for reactive ➔ 11 Reactive Summit 2018

  12. Reactive and MicroProfile

  13. Reactive Microprofile specifications Reactive Streams Operators Reactive Messaging Concurrency Traction from: Lightbend, Red Hat , Oracle, IBM 13 Reactive Summit 2018

  14. JAX-RS and reactive E S S a s t a d a a m r e S t 14 Reactive Summit 2018

  15. Reactive Messaging (and data streaming) 15 Reactive Summit 2018

  16. Reactive Messaging (and data streaming) s t p o n d e a p r e l , n u M a g s i n e s r o c p 16 Reactive Summit 2018

  17. Reactive Stream Operators d a n e p o s m C o r m s f o a n t r 17 Reactive Summit 2018

  18. * no rabbits were harmed in the making of this. Demos *

  19. Step #1 RestEasy, server-sent events and reactive streams {sleeping, awake, eating} Server 19 Reactive Summit 2018

  20. Step #2 Introducing MicroProfile Reactive Messaging state Neo (sleeping, awake, eating) Heartbeat HealthDataBean Health data Processor (temperature, heartbeat, pressure) 20 Reactive Summit 2018

  21. Step #3 Introducing MicroProfile Reactive Streams Operators Snapshot service (latest data) Heartbeat Health data HealthDataBean (temperature, heartbeat, pressure) Health data 1 2 Health data HTTP Client Processor (Vert.x) 21 Reactive Summit 2018

  22. Step #4 Health data comes from MQTT Snapshot service (latest data) Heartbeat MQTT Health data Health data 1 2 Health data HTTP Client Processor (Vert.x) 22 Reactive Summit 2018

  23. Step #5 Event-driven and asynchronous microservices MQTT Snapshot service SSE Health data Kafka Events HTTP Events split by topic Collector service Web application 23 Reactive Summit 2018

  24. Before we wrap up...

  25. 25 Reactive Summit 2018

  26. SmallRye JAX-RS Reactive Messaging Reactive Stream Ops Vert.x Vert.x-powered Vert.x + RxJava2 CDI (Weld) MQTT RestEasy Apache Kafka Apache Camel AMQP 1.0 26 Reactive Summit 2018

  27. Roadmap MicroProfile Reactive Stream Operators ● Approaching 1.0 ○ Starting to infuse in the other MicroProfile specifications ○ Integration in the next MicroProfile release (February 2019) ○ MicroProfile Reactive Messaging ● Data streaming and Event-driven microservice ○ Integration in the next MicroProfile release (February 2019) ○ MicroProfile Concurrency ● Async context propagation ○ 27 Reactive Summit 2018

  28. (s�a��l��� p�u� #2) 50% off with mlponge code 28 Reactive Summit 2018

  29. Q & A @jponge @tsegismont @clementplop

  30. THANK YOU plus.google.com/+RedHat facebook.com/redhatinc linkedin.com/company/red-hat twitter.com/RedHat youtube.com/user/RedHatVideos

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend