Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Getting hip with JHipster
Sendil Kumar N
October 22, 2018
Technology
0
140
Getting hip with JHipster
Sendil Kumar N
October 22, 2018
Tweet
Share
More Decks by Sendil Kumar N
See All by Sendil Kumar N
sendilkumarn
0
63
sendilkumarn
0
80
sendilkumarn
0
36
sendilkumarn
0
16
sendilkumarn
0
420
sendilkumarn
1
64
sendilkumarn
0
33
sendilkumarn
1
3.4k
sendilkumarn
0
64
Other Decks in Technology
See All in Technology
kema1015
0
560
sei88888
5
410
yoku0825
PRO
2
610
soracom
0
180
lambda
0
230
ayatokura
0
240
oracle4engineer
0
140
michigari
0
210
kadoppe
1
140
katsumataryo
3
820
k1low
13
2.4k
sogaoh
2
430
Featured
See All Featured
schacon
147
6.7k
sachag
267
17k
lara
172
9.7k
bryan
99
11k
62gerente
586
200k
maltzj
502
36k
bkeepers
PRO
408
58k
denniskardys
220
120k
pauljervisheath
195
15k
lynnandtonic
272
16k
shpigford
165
19k
edds
56
9.4k
Transcript
@sendilkumarn Ge.ing Hip with JHipster Sendil Kumar N
@sendilkumarn Hello I’m Sendil @sendilkumarn @sendilkumarn
@sendilkumarn Tamil Nadu, India @sendilkumarn
@sendilkumarn Netherlands @sendilkumarn
@sendilkumarn Developer @ Xebialabs
@sendilkumarn Team Member @JHipster / @webpack Open source Polyglot Programmer
@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)
@sendilkumarn What is JHipster ?
@sendilkumarn Java Hipster
@sendilkumarn JHipster is a development plaKorm
@sendilkumarn JHipster is a development plaKorm to generate
@sendilkumarn JHipster is a development plaKorm to generate, develop
@sendilkumarn JHipster is a development plaKorm to generate, develop, and
deploy full-stack applications
@sendilkumarn What you can do with it?
@sendilkumarn
@sendilkumarn ++ Front end
@sendilkumarn
@sendilkumarn
@sendilkumarn ++ Databases
@sendilkumarn
@sendilkumarn Create & Maintain database
@sendilkumarn
@sendilkumarn ++ Microservices
@sendilkumarn
@sendilkumarn API / Gateway Pa.ern
@sendilkumarn API Pa.ern is easy and the most used microservices
pa.ern
@sendilkumarn Terminology aleS…
@sendilkumarn Gateway
@sendilkumarn Microservice Applications
@sendilkumarn
@sendilkumarn Caching
@sendilkumarn Code Coverage >82% in 42K lines we generate
@sendilkumarn CI / CD Pipeline
@sendilkumarn CI / CD Pipeline
@sendilkumarn Deployments
@sendilkumarn Deployments
@sendilkumarn Cloud ready
@sendilkumarn Monitor / Operate
@sendilkumarn JHipster Registry Monitor / Operate
@sendilkumarn JHipster Console Monitor
@sendilkumarn ++ more
@sendilkumarn
@sendilkumarn Why you need JHipster?
@sendilkumarn Faster Development
@sendilkumarn Latest libraries & frameworks
@sendilkumarn ++ Developer Experience
@sendilkumarn ++ Developer Learning
@sendilkumarn API ]rst development
@sendilkumarn How to generate an application?
@sendilkumarn Well, let us see.
@sendilkumarn npm i -g generator-jhipster
@sendilkumarn Create a folder
@sendilkumarn echo “application { config {} }” > app.jdl
@sendilkumarn jhipster import-jdl app.jdl
@sendilkumarn Hooray Application generated…
@sendilkumarn Demo for the people who don’t believe in magic
@sendilkumarn JDL
@sendilkumarn JHipster Domain Language
@sendilkumarn What you can do with that • Create a
JHipster Application • Create entities • Create relationships
@sendilkumarn application { config { } }
@sendilkumarn application { config { baseName: ‘jhipster’ packageName: ‘tech.jhipster’ applicationType:
‘monolith’ databaseType: ‘sql’ ........ } }
@sendilkumarn application { config { } } //Another app application
{ config { } } //Yet another app application { config { } }
@sendilkumarn application { config { } } entity <entityName> {
fieldName fieldType }
@sendilkumarn Microservices
@sendilkumarn Why do you need microservices?
@sendilkumarn Independent Development
@sendilkumarn Independent Deployment
@sendilkumarn Fault Isolation
@sendilkumarn Granular Scaling
@sendilkumarn Wow, this is awesome I just need to create
the micro services. It solves all my problems
@sendilkumarn Wow, it is awesome I just need to create
the micro services. It solves all my problems
@sendilkumarn Monoliths are pe`ect ]t for most of the use-cases.
@sendilkumarn Think a lot before embarking a journey ✈into micro-services.
@sendilkumarn StaS faster with monolith. Then understand your domain and
then conveS them to micro-services
@sendilkumarn Side-eaects of Microservices
@sendilkumarn 99.999999999999% availability is always expected
@sendilkumarn Service Registries / Health checkers
@sendilkumarn ❌ ❌ ❌ ❌ ❌ ❌ ❌
@sendilkumarn Microservices in JHipster
@sendilkumarn API Gateway BFF pa.ern
@sendilkumarn Let us create a microservice application
@sendilkumarn Kubernetes
@sendilkumarn Kubernetes is Open -source system for automating deployment, scaling
and management of containerized applications
@sendilkumarn With JHipster you can create Kubernetes con]guration ]les that
eases your Kubernetes con]guration.
@sendilkumarn Service in K8s Load Balancer Load Balancer Services
@sendilkumarn Service in K8s Node PoS Master 30000 30001 30002
30003 Services
@sendilkumarn Service in K8s Ingress Ingress controller 10.0.0.1 10.0.0.3 10.0.0.2
10.0.0.4 Services
@sendilkumarn Istio
@sendilkumarn Control the fow of tragc & API calls between
services Connect
@sendilkumarn Secure your services Secure
@sendilkumarn Apply policies Control
@sendilkumarn Trace and Monitor Observe
@sendilkumarn Let us deploy to cloud with JDL
@sendilkumarn
@sendilkumarn h.ps://bit.ly/2PP4uYW Complete blog post on Istio with JHipster
@sendilkumarn Questions
@sendilkumarn Thank you :)