Getting hip with JHipster

Getting hip with JHipster

32e6a76c61f41da3beca909251498c60?s=128

Sendil Kumar N

October 22, 2018
Tweet

Transcript

  1. @sendilkumarn Ge.ing Hip with JHipster Sendil Kumar N

  2. @sendilkumarn Hello I’m Sendil @sendilkumarn @sendilkumarn

  3. @sendilkumarn Tamil Nadu, India @sendilkumarn

  4. @sendilkumarn Netherlands @sendilkumarn

  5. @sendilkumarn Developer @ Xebialabs

  6. @sendilkumarn Team Member @JHipster / @webpack Open source Polyglot Programmer

  7. @sendilkumarn Agenda • JHipster • What it is ? •

    What it can do? • Why you need it? • JDL - JHipster Domain Language (Demo included) • Microservices with JHipster (Demo included) • Kubernetes & Istio (Demo included)
  8. @sendilkumarn What is JHipster ?

  9. @sendilkumarn Java Hipster

  10. @sendilkumarn JHipster is a development plaKorm

  11. @sendilkumarn JHipster is a development plaKorm to generate

  12. @sendilkumarn JHipster is a development plaKorm to generate, develop

  13. @sendilkumarn JHipster is a development plaKorm to generate, develop, and

    deploy full-stack applications
  14. @sendilkumarn What you can do with it?

  15. @sendilkumarn

  16. @sendilkumarn ++ Front end

  17. @sendilkumarn

  18. @sendilkumarn

  19. @sendilkumarn ++ Databases

  20. @sendilkumarn

  21. @sendilkumarn Create & Maintain database

  22. @sendilkumarn

  23. @sendilkumarn ++ Microservices

  24. @sendilkumarn

  25. @sendilkumarn API / Gateway Pa.ern

  26. @sendilkumarn API Pa.ern is easy and the most used microservices

    pa.ern
  27. @sendilkumarn Terminology aleS…

  28. @sendilkumarn Gateway

  29. @sendilkumarn Microservice Applications

  30. @sendilkumarn

  31. @sendilkumarn Caching

  32. @sendilkumarn Code Coverage >82% in 42K lines we generate

  33. @sendilkumarn CI / CD Pipeline

  34. @sendilkumarn CI / CD Pipeline

  35. @sendilkumarn Deployments

  36. @sendilkumarn Deployments

  37. @sendilkumarn Cloud ready

  38. @sendilkumarn Monitor / Operate

  39. @sendilkumarn JHipster Registry Monitor / Operate

  40. @sendilkumarn JHipster Console Monitor

  41. @sendilkumarn ++ more

  42. @sendilkumarn

  43. @sendilkumarn Why you need JHipster?

  44. @sendilkumarn Faster Development

  45. @sendilkumarn Latest libraries & frameworks

  46. @sendilkumarn ++ Developer Experience

  47. @sendilkumarn ++ Developer Learning

  48. @sendilkumarn API ]rst development

  49. @sendilkumarn How to generate an application?

  50. @sendilkumarn Well, let us see.

  51. @sendilkumarn npm i -g generator-jhipster

  52. @sendilkumarn Create a folder

  53. @sendilkumarn echo “application { config {} }” > app.jdl

  54. @sendilkumarn jhipster import-jdl app.jdl

  55. @sendilkumarn Hooray Application generated…

  56. @sendilkumarn Demo for the people who don’t believe in magic

  57. @sendilkumarn JDL

  58. @sendilkumarn JHipster Domain Language

  59. @sendilkumarn What you can do with that • Create a

    JHipster Application • Create entities • Create relationships
  60. @sendilkumarn application { config { } }

  61. @sendilkumarn application { config { baseName: ‘jhipster’ packageName: ‘tech.jhipster’ applicationType:

    ‘monolith’ databaseType: ‘sql’ ........ } }
  62. @sendilkumarn application { config { } } //Another app application

    { config { } } //Yet another app application { config { } }
  63. @sendilkumarn application { config { } } entity <entityName> {

    fieldName fieldType }
  64. @sendilkumarn Microservices

  65. @sendilkumarn Why do you need microservices?

  66. @sendilkumarn Independent Development

  67. @sendilkumarn Independent Deployment

  68. @sendilkumarn Fault Isolation

  69. @sendilkumarn Granular Scaling

  70. @sendilkumarn Wow, this is awesome I just need to create

    the micro services. It solves all my problems
  71. @sendilkumarn Wow, it is awesome I just need to create

    the micro services. It solves all my problems
  72. @sendilkumarn Monoliths are pe`ect ]t for most of the use-cases.

  73. @sendilkumarn Think a lot before embarking a journey ✈into micro-services.

  74. @sendilkumarn StaS faster with monolith. Then understand your domain and

    then conveS them to micro-services
  75. @sendilkumarn Side-eaects of Microservices

  76. @sendilkumarn 99.999999999999% availability is always expected

  77. @sendilkumarn Service Registries / Health checkers

  78. @sendilkumarn ❌ ❌ ❌ ❌ ❌ ❌ ❌

  79. @sendilkumarn Microservices in JHipster

  80. @sendilkumarn API Gateway BFF pa.ern

  81. @sendilkumarn Let us create a microservice application

  82. @sendilkumarn Kubernetes

  83. @sendilkumarn Kubernetes is Open -source system for automating deployment, scaling

    and management of containerized applications
  84. @sendilkumarn With JHipster you can create Kubernetes con]guration ]les that

    eases your Kubernetes con]guration.
  85. @sendilkumarn Service in K8s Load Balancer Load Balancer Services

  86. @sendilkumarn Service in K8s Node PoS Master 30000 30001 30002

    30003 Services
  87. @sendilkumarn Service in K8s Ingress Ingress controller 10.0.0.1 10.0.0.3 10.0.0.2

    10.0.0.4 Services
  88. @sendilkumarn Istio

  89. @sendilkumarn Control the fow of tragc & API calls between

    services Connect
  90. @sendilkumarn Secure your services Secure

  91. @sendilkumarn Apply policies Control

  92. @sendilkumarn Trace and Monitor Observe

  93. @sendilkumarn Let us deploy to cloud with JDL

  94. @sendilkumarn

  95. @sendilkumarn h.ps://bit.ly/2PP4uYW Complete blog post on Istio with JHipster

  96. @sendilkumarn Questions

  97. @sendilkumarn Thank you :)