What's New in JHipsterLand - Devoxx Poland 2017
-
Upload
matt-raible -
Category
Software
-
view
166 -
download
0
Transcript of What's New in JHipsterLand - Devoxx Poland 2017
![Page 2: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/2.jpg)
Blogger on raibledesigns.com
UI Architect and Java Champion
Father, Skier, Mountain Biker, Whitewater Rafter
Web Framework Connoisseur
Who is Matt Raible?
Bus LoverOkta Developer Evangelist
![Page 3: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/3.jpg)
![Page 4: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/4.jpg)
Authentication Standards
![Page 5: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/5.jpg)
#DevoxxPL
About You
Are you a Java developer that likes Spring?
Do you like JavaScript? TypeScript?
Anyone using Angular?
Have you used JHipster before?
![Page 6: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/6.jpg)
#DevoxxPL
JHipster jhipster.github.io
![Page 7: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/7.jpg)
#DevoxxPL
JHipster is Open Source
Web Statistics, May 2017
386K Page Views
49K Downloads
GitHub Statistics
7297 Stars
337 Contributorswww.openhub.net/p/generator-jhipster
![Page 9: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/9.jpg)
How to use JHipster
To install JHipster and Yeoman, use npm:
npm install -g yo generator-jhipster
Then create a directory and cd into it:
mkdir myapp && cd myapp
Then run Yeoman:
yo jhipster
![Page 10: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/10.jpg)
![Page 11: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/11.jpg)
Feature In JHipster 4?
Angular ✅
Progressive Web Apps ✅
HTTP/2 ✅
JUnit 5 ❌
Spring 5 ❌
Bootstrap 4 ✅
What’s new in JHipsterLand?
#DevoxxPL
![Page 12: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/12.jpg)
![Page 13: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/13.jpg)
HTTP/2
Binary, instead of textual
Fully multiplexed, instead of ordered and blocking
Can use one connection for parallelism
Uses header compression to reduce overhead
Allows servers to “push” responses proactively into client caches
![Page 17: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/17.jpg)
HTTP/2 in JHipster
/* * Enable HTTP/2 for Undertow - https://twitter.com/ankinson/status/829256167700492288 * HTTP/2 requires HTTPS, so HTTP requests will fallback to HTTP/1.1. * See the JHipsterProperties class and your application-*.yml configuration files * for more information. */ if (jHipsterProperties.getHttp().getVersion().equals(JHipsterProperties.Http.Version.V_2_0)) { if (container instanceof UndertowEmbeddedServletContainerFactory) { ((UndertowEmbeddedServletContainerFactory) container) .addBuilderCustomizers((builder) -> { builder.setServerOption(UndertowOptions.ENABLE_HTTP2, true); }); } }
![Page 18: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/18.jpg)
HTTP/2 in JHipster
# =============================================================================================== # To enable SSL, generate a certificate using: # keytool -genkey -alias blog -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 # # You can also use Let's Encrypt: # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm # # Then, modify the server.ssl properties so your "server" configuration looks like: # # server: # port: 8443 # ssl: # key-store: keystore.p12 # key-store-password: <your-password> # keyStoreType: PKCS12 # keyAlias: blog # ===============================================================================================
jhipster: http: version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
![Page 19: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/19.jpg)
![Page 22: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/22.jpg)
#DevoxxPL
Spring Boot 1.5
Apache Kafka Support
Cloud Foundry actuator extensions
Spring Data Ingalls
LDAP support
Loggers endpoint
Spring Security 4.2 Support
![Page 23: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/23.jpg)
Bootstrap 4
![Page 24: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/24.jpg)
Bootstrap 4
![Page 25: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/25.jpg)
Build Tools
Java: Maven or Gradle
AngularJS: Gulp
Angular: Webpack
Web Dependencies:
AngularJS: Bower
Angular: npm or yarn
![Page 26: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/26.jpg)
![Page 27: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/27.jpg)
Cool Webpack Features
webpack-bundle-analyzer
webpack-dashboard
![Page 28: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/28.jpg)
Get Started with JHipster 4 Demo
![Page 29: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/29.jpg)
AAA Sonar Rating
![Page 30: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/30.jpg)
JHipster Libraries
![Page 33: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/33.jpg)
Continuous Integration and Deployment$ yo jhipster:ci-cd
Supports:
Jenkins pipeline
Travis CI
GitLab CI
CircleCI jhipster.github.io/setting-up-ci/
![Page 34: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/34.jpg)
![Page 35: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/35.jpg)
Deploying to Production
Cloud Foundry
Heroku
Kubernetes
AWS
AWS with Boxfuse
![Page 36: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/36.jpg)
Microservices with Docker Demo
![Page 37: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/37.jpg)
JHipster 4 Tutorials and Videos
Monolith
https://github.com/mraible/jhipster4-demo
Microservices
https://developer.okta.com/blog/2017/06/20/develop-microservices-with-jhipster
![Page 38: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/38.jpg)
#DevoxxPL
The JHipster Mini-Book
2.0 Release on Dec 5, 2016
jhipster-book.com
21-points.com
@jhipster_book
Write your own InfoQ mini-book! github.com/mraible/infoq-mini-book
![Page 40: What's New in JHipsterLand - Devoxx Poland 2017](https://reader031.fdocuments.in/reader031/viewer/2022022823/5a6ea9767f8b9a70728b5c49/html5/thumbnails/40.jpg)
#DevoxxPL
Questions?Keep in touch!
raibledesigns.com
@mraible
Presentations
speakerdeck.com/mraible
Code
github.com/oktadeveloper