26
Modern web application Java development JHipster

CraftCamp for Students - Introduction to JHipster

Embed Size (px)

Citation preview

Page 1: CraftCamp for Students - Introduction to JHipster

Modern web application Java developmentJHipster

Page 2: CraftCamp for Students - Introduction to JHipster

Who is Driss Amri?

Blogger at drissamri.be

Traveler, Diver, Programmer

Page 3: CraftCamp for Students - Introduction to JHipster

Hipstern, noun1. One who is exceptionally aware of or interested in the latest trends and tastes.

Page 4: CraftCamp for Students - Introduction to JHipster

Eww, Java?!

TIOBE

GitHub

Page 5: CraftCamp for Students - Introduction to JHipster

Java 8Parallel Collections

JSR 310 Date and Time API

Functional Interfaces with default methods

Lambda Expressions (Closures)

Nashorn JavaScript engine

Page 6: CraftCamp for Students - Introduction to JHipster

Trends in JavaAnnotations

Environments: development, production

Microservices

No containers

Monitoring

Page 7: CraftCamp for Students - Introduction to JHipster

Production-ready applications

● HTTP Caching and GZip?

● JavaScript minification?

● Monitoring?

● Logging?

● Deployment?

● …

Page 8: CraftCamp for Students - Introduction to JHipster

Backend development

Page 9: CraftCamp for Students - Introduction to JHipster

Spring Boot Demo

https://github.com/craftworkz/ucll-workshop-jhipster

Page 10: CraftCamp for Students - Introduction to JHipster

Spring Initializr @ start.spring.io

Page 11: CraftCamp for Students - Introduction to JHipster

Spring BootCreate standalone Spring application

Embedded web container

Convention over configuration

Defaults to Spring best practises

Production ready features

Page 12: CraftCamp for Students - Introduction to JHipster

Frontend development

Page 13: CraftCamp for Students - Introduction to JHipster

JavaScript MVC frameworks

HTML 5 and CSS 3

Mobile First

Front-end optimization

REST API’s

Trends in Web Development

Page 14: CraftCamp for Students - Introduction to JHipster
Page 15: CraftCamp for Students - Introduction to JHipster
Page 16: CraftCamp for Students - Introduction to JHipster

What if we...

Page 17: CraftCamp for Students - Introduction to JHipster
Page 18: CraftCamp for Students - Introduction to JHipster

Foundation Spring BootSpring SecurityAngularJSBootstrapBowerMetricsLiquibase

JHipster

OptionsJava 8 or Java 7 (legacy)

Maven or GradleAuthentication: Token-based, Cookie-based, OAuth2Caching: EhCache or HazelcastGrunt or gulp.js

Page 19: CraftCamp for Students - Introduction to JHipster

JHipster demo

https://github.com/craftworkz/ucll-workshop-jhipster

Page 20: CraftCamp for Students - Introduction to JHipster

JHipster demo (cont’d)

Page 21: CraftCamp for Students - Introduction to JHipster

JHipster demo (cont’d)

Page 22: CraftCamp for Students - Introduction to JHipster

Demo JHipster on Bluemix

Problem https://github.com/jhipster/generator-jhipster/issues/2009

Page 23: CraftCamp for Students - Introduction to JHipster

Production-ready applications with JHipster

HTTP Caching and GZip?

JavaScript minification?

Monitoring?

Logging?

Deployment?

Page 24: CraftCamp for Students - Introduction to JHipster

Basics MavenYeomanGruntBowerSpring (Boot)AngularJSBootstrap

Frameworks to check

AdvancedLiquibaseSpring SecurityBrowserSyncKarmaGatlingSwagger