Upgrade to Pro — share decks privately, control downloads, hide ads and more …

IoT powered by MicroProfile

52482b46b478633a2b766bbf36916fd3?s=47 Mads Opheim
December 04, 2018
19

IoT powered by MicroProfile

We are going to show you what happens when the management lets enterprise Java developers and architects decide how we can control the IoT devices in our new office. While it's easy to figure out why Microprofile is cool, it's harder to see how to get in into your project.

By the end of this talk, you will be introduced into the patterns and software in the enterprise world of Java explaining how to build a build a secure, stable, modular, and integrated system on an example of a completely over-engineered IoT solution to control the lights and plant's well-being in the new office.

Fear not if your system is more complex than controlling light bulbs and plants! This talk will show you how easily you can design a good production-ready Java full-stack system based on the Enterprise stack with Microprofile combined with good continuous deployment infrastructure patterns.

There be code, demos, and (buzzword) dragons.

52482b46b478633a2b766bbf36916fd3?s=128

Mads Opheim

December 04, 2018
Tweet

Transcript

  1. Devoxx Ukraine IoT Powered by MicroProfile Rustam Mehmandarov @RMehmandarov Mads

    Opheim @MadsOpheim
  2. Dobriy den! 2

  3. Why? 3 The Motivation

  4. New office, new lights Just Add Coffee. And Enterprise Developers.

    4
  5. 5 The Architecture

  6. MicroProfile In Practice. 6

  7. Community - individuals, organizations, vendors 7

  8. 8 MicroProfile is lightweight! https://dzone.com/articles/microprofile-5-things-you-need-to-know

  9. 9 MicroProfile

  10. 10 MicroProfile in the Lightning Control Service

  11. 11 The Architecture

  12. 12 CDI

  13. 13 JAX-RS and JSON-P

  14. 14 MicroProfile in the Gateway Service

  15. 15 The Architecture

  16. 16 Config

  17. 17 Health Check: Response – Happy Days

  18. 18 Health Check: Response – Not So Happy Days

  19. 19 Health check: HowTo

  20. 20 Metrics

  21. 21 Application-specific metrics

  22. 22 Fault tolerance - retry and circuit breaker

  23. 23 Fault tolerance - timeout

  24. 24 Fault tolerance - fallback

  25. 25 REST Client

  26. 26 REST Client There be dragons. <rant />

  27. 27 Maturity...

  28. 28 MicroProfile in the Time and Weather Services

  29. 29 The Architecture

  30. 30 OpenAPI

  31. 31 OpenAPI

  32. 32 Other Cool Techy Stuff

  33. 33 Lombok

  34. 34 Inject Logger

  35. 35 Local Maven Repo

  36. 36 Faking an API

  37. 37

  38. Future Work 38

  39. 39 MicroProfile

  40. 40 Open Tracing

  41. 41 JWT Auth

  42. 42 MicroProfile: Roadmap

  43. 43

  44. 44

  45. 45

  46. 46

  47. Everything’s on GitHub! 47 https://github.com/mehmandarov/microprofile-iot

  48. Still interested? https://microprofile.io 48

  49. Thanks! @MadsOpheim @RMehmandarov 49