SlideShare a Scribd company logo
Photos by

Get Hip with JHipster!
Matt Raible • http://raibledesigns.com
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 - DOSUG February 2016
Google Trends
Google Trends
The most starred project on GitHub?
What’s #4?
November 2015
Wouldn’t it be hip if…?
⚭
JHipster jhipster.github.io
JHipster Project
Web Statistics, January 2016

187K Page Views

12K Downloads

GitHub Statistics

3356 Stars 

184 Contributors
https://www.openhub.net/p/generator-jhipster
JHipster Downloads
JHipster
Spring Boot

Spring Security

AngularJS

Bootstrap

Metrics

Maven or Gradle

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

Type of Database: SQL or NoSQL

Caching: EhCache or Hazelcast

Grunt or Gulp.js
Foundational Frameworks Project Options
JHipster Features
Authentication and Security

Spring Boot Metrics Dashboard

Bootstrap and AngularJS Integrated

REST API with Spring MVC

JPA Support and NoSQL Support

CRUD Generation

Internationalization
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 UML
12 entities, 17 relationships:

JHipster: 1h 15 minutes

JHipster UML: 30 minutes www.ipponusa.com/blog/jhipster-uml
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.html
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

Bootstrap Material Designs + many more!

jhipster.github.io/modules/creating-a-module
JHipster 3.0
Microservices based on Spring Cloud and Netflix Stack

JJWT 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
Est. March 2016
How sweet is JHipster?!
AngularJS, Java 8, Microservices - what more could you want?
Angular 2.0
<input type="text" [value]="firstName">
<button (click)="addPerson()">Add</button>
<input type="checkbox" [checked]="someProperty">
Concepts Eliminated in Angular 2.0
Controllers

Directive Definition Object

$scope

angular.module

jqLite
Angular 2: Template Syntax
egghead.io/lessons/angularjs-angular-2-template-syntax
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
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
Stay hip by following me!

raibledesigns.com

@mraible

Presentations

slideshare.net/mraible

Code

github.com/mraible
Questions?

More Related Content

What's hot (20)

PDF
Play Framework vs Grails Smackdown - JavaOne 2013
Matt Raible
 
PDF
Deploying JHipster Microservices
Joe Kutner
 
PDF
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
 
PDF
Developing PWAs and Mobile Apps with Ionic, Angular, and JHipster - Devoxx Mo...
Matt Raible
 
PDF
Using JHipster 4 for generating Angular/Spring Boot apps
Yakov Fain
 
PDF
React native in the wild @ Codemotion 2016 in Rome
Alessandro Nadalin
 
PDF
Play vs Grails Smackdown - Devoxx France 2013
Matt Raible
 
PDF
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
 
PDF
Spring Boot Intro
Alberto Flores
 
PDF
Spring Boot and Microservices
seges
 
PPTX
Grails Spring Boot
TO THE NEW | Technology
 
PDF
Spring boot
Bhagwat Kumar
 
PPTX
ng4 webpack and yarn in JHipster
Sendil Kumar
 
PDF
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
 
PDF
Spring Boot
koppenolski
 
PDF
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
Yukiya Nakagawa
 
PDF
Building a Spring Boot Application - Ask the Audience! (from JavaLand 2017)
🎤 Hanno Embregts 🎸
 
PDF
Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017
Matt Raible
 
PPTX
Spring boot
sdeeg
 
PDF
Building a Spring Boot Application - Ask the Audience!
🎤 Hanno Embregts 🎸
 
Play Framework vs Grails Smackdown - JavaOne 2013
Matt Raible
 
Deploying JHipster Microservices
Joe Kutner
 
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
 
Developing PWAs and Mobile Apps with Ionic, Angular, and JHipster - Devoxx Mo...
Matt Raible
 
Using JHipster 4 for generating Angular/Spring Boot apps
Yakov Fain
 
React native in the wild @ Codemotion 2016 in Rome
Alessandro Nadalin
 
Play vs Grails Smackdown - Devoxx France 2013
Matt Raible
 
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
 
Spring Boot Intro
Alberto Flores
 
Spring Boot and Microservices
seges
 
Grails Spring Boot
TO THE NEW | Technology
 
Spring boot
Bhagwat Kumar
 
ng4 webpack and yarn in JHipster
Sendil Kumar
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
 
Spring Boot
koppenolski
 
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
Yukiya Nakagawa
 
Building a Spring Boot Application - Ask the Audience! (from JavaLand 2017)
🎤 Hanno Embregts 🎸
 
Microservices for the Masses with Spring Boot, JHipster, and JWT - J-Spring 2017
Matt Raible
 
Spring boot
sdeeg
 
Building a Spring Boot Application - Ask the Audience!
🎤 Hanno Embregts 🎸
 

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

PDF
Get Hip with JHipster - Denver JUG 2015
Matt Raible
 
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
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
 
PDF
Spring Boot APIs and Angular Apps: Get Hip with JHipster! KCDC 2019
Matt Raible
 
PDF
When JHipster meets Microsoft-JHipster and Microsoft products
Anthony Viard
 
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
 
PPTX
Java4hipsters
Intersog
 
PDF
JHipster overview and roadmap (August 2017)
Julien Dubois
 
PDF
JHipster
Yuen-Kuei Hsueh
 
PPTX
J hipster
Rasmita Jena
 
PPTX
Architectures, Frameworks and Infrastructure
harendra_pathak
 
PDF
(eBook PDF) Full Stack Development with JHipster: Build modern web applicatio...
ashyqqc893
 
PDF
JHipster overview
Julien Dubois
 
PDF
Introduction to JHipster
PadmanabanNagarajan1
 
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
 
Get Hip with JHipster - Denver JUG 2015
Matt Raible
 
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
 
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
 
Spring Boot APIs and Angular Apps: Get Hip with JHipster! KCDC 2019
Matt Raible
 
When JHipster meets Microsoft-JHipster and Microsoft products
Anthony Viard
 
JHipster - Full Stack Platform for the Modern Developer
TMME - TECH MEETUP FOR MYANMAR ENGINEERS IN JP
 
Devoxx : being productive with JHipster
Julien Dubois
 
Java4hipsters
Intersog
 
JHipster overview and roadmap (August 2017)
Julien Dubois
 
JHipster
Yuen-Kuei Hsueh
 
J hipster
Rasmita Jena
 
Architectures, Frameworks and Infrastructure
harendra_pathak
 
(eBook PDF) Full Stack Development with JHipster: Build modern web applicatio...
ashyqqc893
 
JHipster overview
Julien Dubois
 
Introduction to JHipster
PadmanabanNagarajan1
 
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
 
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
Web App Security for Java Developers - UberConf 2021
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
 
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
 
Web App Security for Java Developers - UberConf 2021
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
 
Ad

Recently uploaded (20)

PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
July Patch Tuesday
Ivanti
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
July Patch Tuesday
Ivanti
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 

Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - DOSUG February 2016