SlideShare a Scribd company logo
Photos by http://mcginityphoto.com

Get Hip with JHipster!
Matt Raible • @mraible
Blogger on raibledesigns.com
Founder of AppFuse
Father, Skier, Mountain
Biker, Whitewater Rafter
Web Framework Connoisseur
Who is Matt Raible?
Bus Lover
What about YOU?
Are you a Java Developer?

How long have you been doing web development?

Do you like JSF? Do you like GWT? 

Do you like JavaScript?
Do you want to be a hip Java Developer?
Java 8
Parallel Collections

JSR 310 Date and Time API

Functional Interfaces with default method

Lambda Expressions (a.k.a. Closures)

Nashorn JavaScript Engine
// sort a list by lastName
List<Person> persons = ...;
persons.sort((p1, p2) ->
p1.getLastName().compareTo(p2.getLastName()));
Hipster
n. noun

1. One who is exceptionally aware of or interested in the latest trends
and tastes.
Latest trends in JavaLand?
Annotations

Environments: dev, test, production

Microservices

Container-less Deployment

Monitoring
Spring Boot
Create stand-alone Spring applications

Embeds Tomcat, Jetty or Undertow directly 

Provides opinionated 'starter' POMs to simplify your Maven
configuration

Also supports/promotes using Gradle
Spring Boot
Automatically configures Spring whenever possible

Provides production-ready features such as metrics, health checks and
externalized configuration

Absolutely no code generation and no requirement for XML
configuration

Grails 3.0 is based on Spring Boot
SPRING INITIALIZR @ start.spring.io
Spring Boot Demo
Latest trends in Web Development?
JavaScript MVC Frameworks

CSS 3 with Animations

Mobile First

Front-End Optimization

REST APIs
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Google Trends
Wouldn’t it be hip if…?
⚭
JHipster jhipster.github.io
JHipster
Spring Boot

Spring Security

AngularJS

Bootstrap

Metrics

Maven or Gradle

Authentication Type: cookie-based (with
Social), JWT or OAuth2

Type of Database: SQL or NoSQL

Caching: EhCache or Hazelcast

Elasticsearch

Gulp.js
Foundational Frameworks Project Options
Yeoman
The web's scaffolding tool for modern webapps

Helps you kickstart new projects

Promotes the Yeoman workflow
http://jhipster.github.io/ yeoman.io
Browsersync www.browsersync.io
Demo Time!
Generate a basic blog application

Look at its configuration



Generate the CRUD entities

Limit blogs to current user, allow HTML

Deploy to
Demo Goals
… all in 20 minutes!
Demo Entity Diagram
JHipster Tools
IntelliJ IDEA and Eclipse

Vagrant JHipster Development Box

Docker Installation

Docker Compose

JDL and JDL Studio

JHipster-UML
JDL Studio
JHipster UML
Supported UML Editors

Modelio

UML Designer

GenMyModel (not free)

Visual Paradigm (not free, but proposes a community edition)

jhipster.github.io/jhipster-uml
High Performance

Scala, Akka and Netty

Nice HTML-based Reporting

Scenario Recorder
Load Testing with Gatling
val scn = scenario("Test the Blog entity")

.exec(http("First unauthenticated request")

.get("/api/account")

.headers(headers_http)

.check(status.is(401)))

.pause(10)

.exec(http("Authentication")

.post("/api/authenticate")

.headers(headers_http_authentication)

.formParam("username", "admin")

.formParam("password", "admin")

.check(jsonPath("$.token").saveAs("x_auth_token")))

.pause(1)

.exec(http("Authenticated request")

.get("/api/account")

.headers(headers_http_authenticated)

.check(status.is(200)))

.pause(10)

.repeat(2) {

exec(http("Get all blogs")

.get("/api/blogs")

.headers(headers_http_authenticated)

.check(status.is(200)))

.pause(10 seconds, 20 seconds)

.exec(http("Create new blog")

.put("/api/blogs")

.headers(headers_http_authenticated)

.body(StringBody("""{"id":null, "name":"SAMPLE_TEXT", "handle"
www.jhipster-book.com/#!/news/entry/adding-protractor-tests
What about UI Testing?
JHipster Modules
jhipster.github.io/modules/marketplace 

Entity Audit

Swagger2Markup

Ionic + many more!

jhipster.github.io/modules/creating-a-module
JHipster 3
Microservices based on Spring Cloud

JWT instead of XAuth

Docker image to hub.docker.com

Pluralization of generated entities

Remove the "fast" profile

Restructuring based on John Papa’s Style Guide
Released March 23, 2016
JHipster 3 Microservices
1. Generate Gateway for web traffic
and Angular UI

2. Install JHipster Registry

3. Generate microservice apps

4. Install JHipster Console for
monitoring
jhipster.github.io/microservices-architecture
JHipster as Knowledge
The JHipster Mini-Book
Written with Asciidoctor

Quick and to the point, 130 pages

Developed a Real World App:

www.21-points.com 

Free Download from 

www.infoq.com/minibooks/jhipster-mini-book
Lines of Code in 21-Points
0
3500
7000
10500
14000
Project Created Entities Generated Business Logic and UI
13,888
12,736
8,556
Project Creation
Entities Generated
Biz Logic and UI
0 3500 7000 10500 14000
2,323
2,214
1,465
4,044
3,776
2,595
6,087
5,505
3,752
Java JavaScript HTML
Lines of Code by Language
Learn More
twitter.com/java_hipster

jhipster.github.io

github.com/jhipster/generator-jhipster

angularjs.org

youtube.com/watch?v=baVOGuFIe9M
Getting Help
stackoverflow.com/tags/jhipster

gitter.im/jhipster/generator-jhipster

github.com/jhipster/.../CONTRIBUTING.md 

groups.google.com/.../jhipster-dev
Stay hip by following me!

raibledesigns.com

@mraible

Presentations

slideshare.net/mraible

Code

github.com/mraible
Questions?
The JHipster Mini-Book
1.0 Release on October 30

jhipster-book.com 

21-points.com 

@jhipster_book

Write your own InfoQ mini-book! github.com/mraible/infoq-mini-book

More Related Content

What's hot (20)

PDF
The Art of Angular in 2016 - Devoxx UK 2016
Matt Raible
 
PDF
Get Hip with JHipster - Denver JUG 2015
Matt Raible
 
PDF
Testing Angular 2 Applications - HTML5 Denver 2016
Matt Raible
 
PDF
Getting Started with Angular - Stormpath Webinar, January 2017
Matt Raible
 
PDF
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
 
PDF
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Matt Raible
 
PDF
The Modern Java Web Developer Bootcamp - Devoxx 2013
Matt Raible
 
PDF
Microservices for the Masses with Spring Boot, JHipster, and JWT - Rich Web 2016
Matt Raible
 
PDF
Play Framework vs Grails Smackdown - JavaOne 2013
Matt Raible
 
PDF
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - DOSUG February 2016
Matt Raible
 
PDF
The Art of AngularJS in 2015 - Angular Summit 2015
Matt Raible
 
PDF
Avoiding Common Pitfalls in Ember.js
Alex Speller
 
PDF
Developing, Testing and Scaling with Apache Camel - UberConf 2015
Matt Raible
 
PDF
Learning from the Best jQuery Plugins
Marc Grabanski
 
PDF
#NoXML: Eliminating XML in Spring Projects - SpringOne 2GX 2015
Matt Raible
 
PDF
Web App Security for Java Developers - UberConf 2021
Matt Raible
 
PDF
Play vs Grails Smackdown - Devoxx France 2013
Matt Raible
 
PDF
The Modern Java Web Developer - JavaOne 2013
Matt Raible
 
PDF
Front End Development for Back End Developers - Denver Startup Week 2017
Matt Raible
 
PDF
Web Frameworks of the Future: Flex, GWT, Grails and Rails
Matt Raible
 
The Art of Angular in 2016 - Devoxx UK 2016
Matt Raible
 
Get Hip with JHipster - Denver JUG 2015
Matt Raible
 
Testing Angular 2 Applications - HTML5 Denver 2016
Matt Raible
 
Getting Started with Angular - Stormpath Webinar, January 2017
Matt Raible
 
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
 
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Matt Raible
 
The Modern Java Web Developer Bootcamp - Devoxx 2013
Matt Raible
 
Microservices for the Masses with Spring Boot, JHipster, and JWT - Rich Web 2016
Matt Raible
 
Play Framework vs Grails Smackdown - JavaOne 2013
Matt Raible
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - DOSUG February 2016
Matt Raible
 
The Art of AngularJS in 2015 - Angular Summit 2015
Matt Raible
 
Avoiding Common Pitfalls in Ember.js
Alex Speller
 
Developing, Testing and Scaling with Apache Camel - UberConf 2015
Matt Raible
 
Learning from the Best jQuery Plugins
Marc Grabanski
 
#NoXML: Eliminating XML in Spring Projects - SpringOne 2GX 2015
Matt Raible
 
Web App Security for Java Developers - UberConf 2021
Matt Raible
 
Play vs Grails Smackdown - Devoxx France 2013
Matt Raible
 
The Modern Java Web Developer - JavaOne 2013
Matt Raible
 
Front End Development for Back End Developers - Denver Startup Week 2017
Matt Raible
 
Web Frameworks of the Future: Flex, GWT, Grails and Rails
Matt Raible
 

Viewers also liked (13)

PDF
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Matt Raible
 
PDF
Comparing JVM Web Frameworks - February 2014
Matt Raible
 
PDF
Comparing JVM Web Frameworks - Devoxx France 2013
Matt Raible
 
PDF
Java Web Application Security - Denver JUG 2013
Matt Raible
 
PDF
The Modern Java Web Developer - Denver JUG 2013
Matt Raible
 
PDF
Introduction to Hardware with littleBits
Tack Mobile
 
PDF
Bluemix and jHipster (awesome combination of Spring + Angular + Cloud)
craftworkz
 
PPTX
Java Development for Enterprise Software Development
QAT Global
 
PPTX
Comparison of Java Web Application Frameworks
Angelin R
 
PDF
Cloud Native Progressive Web Applications - Denver JUG 2016
Matt Raible
 
PDF
Testing Angular Applications - Jfokus 2017
Matt Raible
 
PDF
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Matt Raible
 
PDF
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Matt Raible
 
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Matt Raible
 
Comparing JVM Web Frameworks - February 2014
Matt Raible
 
Comparing JVM Web Frameworks - Devoxx France 2013
Matt Raible
 
Java Web Application Security - Denver JUG 2013
Matt Raible
 
The Modern Java Web Developer - Denver JUG 2013
Matt Raible
 
Introduction to Hardware with littleBits
Tack Mobile
 
Bluemix and jHipster (awesome combination of Spring + Angular + Cloud)
craftworkz
 
Java Development for Enterprise Software Development
QAT Global
 
Comparison of Java Web Application Frameworks
Angelin R
 
Cloud Native Progressive Web Applications - Denver JUG 2016
Matt Raible
 
Testing Angular Applications - Jfokus 2017
Matt Raible
 
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Matt Raible
 
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Matt Raible
 
Ad

Similar to Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016 (20)

PDF
Develop Hip APIs and Apps with Spring Boot and Angular - Connect.Tech 2017
Matt Raible
 
PDF
Get Hip with JHipster - GIDS 2019
Matt Raible
 
PDF
Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Matt Raible
 
PDF
Spring Boot APIs and Angular PWAs: Get Hip with JHipster - PWX 2019
Matt Raible
 
PDF
When JHipster meets Microsoft-JHipster and Microsoft products
Anthony Viard
 
PDF
Spring Boot APIs and Angular Apps: Get Hip with JHipster! KCDC 2019
Matt Raible
 
PDF
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
 
PDF
JHipster - Full Stack Platform for the Modern Developer
TMME - TECH MEETUP FOR MYANMAR ENGINEERS IN JP
 
PDF
Devoxx : being productive with JHipster
Julien Dubois
 
PDF
JHipster overview and roadmap (August 2017)
Julien Dubois
 
PDF
(eBook PDF) Full Stack Development with JHipster: Build modern web applicatio...
ashyqqc893
 
PPTX
Architectures, Frameworks and Infrastructure
harendra_pathak
 
PDF
Microservices for the Masses with Spring Boot, JHipster, and OAuth - London J...
Matt Raible
 
PDF
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Belfast ...
Matt Raible
 
PDF
What's New in JHipsterLand - Devoxx US 2017
Matt Raible
 
PDF
CraftCamp for Students - Introduction to JHipster
craftworkz
 
PDF
Microservices for the Masses with Spring Boot and JHipster - Chicago JUG 2018
Matt Raible
 
PDF
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...
Matt Raible
 
PDF
What's New in JHipsterLand - DevNexus 2017
Matt Raible
 
PDF
JHipster
Yuen-Kuei Hsueh
 
Develop Hip APIs and Apps with Spring Boot and Angular - Connect.Tech 2017
Matt Raible
 
Get Hip with JHipster - GIDS 2019
Matt Raible
 
Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Matt Raible
 
Spring Boot APIs and Angular PWAs: Get Hip with JHipster - PWX 2019
Matt Raible
 
When JHipster meets Microsoft-JHipster and Microsoft products
Anthony Viard
 
Spring Boot APIs and Angular Apps: Get Hip with JHipster! KCDC 2019
Matt Raible
 
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
 
JHipster - Full Stack Platform for the Modern Developer
TMME - TECH MEETUP FOR MYANMAR ENGINEERS IN JP
 
Devoxx : being productive with JHipster
Julien Dubois
 
JHipster overview and roadmap (August 2017)
Julien Dubois
 
(eBook PDF) Full Stack Development with JHipster: Build modern web applicatio...
ashyqqc893
 
Architectures, Frameworks and Infrastructure
harendra_pathak
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - London J...
Matt Raible
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Belfast ...
Matt Raible
 
What's New in JHipsterLand - Devoxx US 2017
Matt Raible
 
CraftCamp for Students - Introduction to JHipster
craftworkz
 
Microservices for the Masses with Spring Boot and JHipster - Chicago JUG 2018
Matt Raible
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - Switzerl...
Matt Raible
 
What's New in JHipsterLand - DevNexus 2017
Matt Raible
 
JHipster
Yuen-Kuei Hsueh
 
Ad

More from Matt Raible (20)

PDF
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Matt Raible
 
PDF
Micro Frontends for Java Microservices - Belfast JUG 2022
Matt Raible
 
PDF
Micro Frontends for Java Microservices - Dublin JUG 2022
Matt Raible
 
PDF
Micro Frontends for Java Microservices - Cork JUG 2022
Matt Raible
 
PDF
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Matt Raible
 
PDF
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Matt Raible
 
PDF
Comparing Native Java REST API Frameworks - Devoxx France 2022
Matt Raible
 
PDF
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Matt Raible
 
PDF
Native Java with Spring Boot and JHipster - Garden State JUG 2021
Matt Raible
 
PDF
Java REST API Framework Comparison - PWX 2021
Matt Raible
 
PDF
Web App Security for Java Developers - PWX 2021
Matt Raible
 
PDF
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Matt Raible
 
PDF
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Matt Raible
 
PDF
Java REST API Framework Comparison - UberConf 2021
Matt Raible
 
PDF
Native Java with Spring Boot and JHipster - SF JUG 2021
Matt Raible
 
PDF
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Matt Raible
 
PDF
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Matt Raible
 
PDF
JHipster and Okta - JHipster Virtual Meetup December 2020
Matt Raible
 
PDF
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Matt Raible
 
PDF
Security Patterns for Microservice Architectures - SpringOne 2020
Matt Raible
 
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Matt Raible
 
Micro Frontends for Java Microservices - Belfast JUG 2022
Matt Raible
 
Micro Frontends for Java Microservices - Dublin JUG 2022
Matt Raible
 
Micro Frontends for Java Microservices - Cork JUG 2022
Matt Raible
 
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Matt Raible
 
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Matt Raible
 
Comparing Native Java REST API Frameworks - Devoxx France 2022
Matt Raible
 
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Matt Raible
 
Native Java with Spring Boot and JHipster - Garden State JUG 2021
Matt Raible
 
Java REST API Framework Comparison - PWX 2021
Matt Raible
 
Web App Security for Java Developers - PWX 2021
Matt Raible
 
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Matt Raible
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Matt Raible
 
Java REST API Framework Comparison - UberConf 2021
Matt Raible
 
Native Java with Spring Boot and JHipster - SF JUG 2021
Matt Raible
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Matt Raible
 
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Matt Raible
 
JHipster and Okta - JHipster Virtual Meetup December 2020
Matt Raible
 
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Matt Raible
 
Security Patterns for Microservice Architectures - SpringOne 2020
Matt Raible
 

Recently uploaded (20)

PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Biography of Daniel Podor.pdf
Daniel Podor
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 

Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016