SlideShare a Scribd company logo
@deepu105#DevoxxFR 2018
By Deepu K Sasidharan, XebiaLabs
April 20, 2018
Frontend stack for
Java Developers
@deepu105#DevoxxFR 2018
About Me
Javascript Evangelist
Co-lead
Senior product developer
Robotics & Astronomy enthusiast
https://www.packtpub.com/application-development/full-stack-development-jhipster
@deepu105#DevoxxFR 2018
About XebiaLabs
@deepu105#DevoxxFR 2018
What about you?
How many folks are Java developers?
How many are web developers?
Who likes JavaScript? Who likes TypeScript better?
Are you a fan of:
Angular
React
Vue.js
@deepu105#DevoxxFR 2018
Today’s Agenda
● Why most Java developers hate frontend
● Myths about the frontend landscape
● How to make Java developers like JavaScript
● History of Angular, React & VueJS
● My favorite and not-so-favorite features
● Kickstarting Angular and React
● An optimal stack for Java developers
● Using JHipster to kickstart
● Recommendations
Why most Java developers hate frontend?
@deepu105#DevoxxFR 2018
Frontend options 7 years ago
=
@deepu105#DevoxxFR 2018
The Rise of MV* Frameworks
@deepu105#DevoxxFR 2018
@deepu105#DevoxxFR 2018
“Yet Another Framework Syndrome”
Myths about the frontend landscape
JavaScript sucks/CSS sucks
JavaScript is not even a real language
JavaScript is not powerful enough
Frameworks disappear overnight
There are too many frameworks and Libraries to learn
What I learn might be obsolete next week
How to make Java developers
like(love)
JavaScript
Front-end for Java developers Devoxx France 2018
@deepu105#DevoxxFR 2018
What is TypeScript
A strict syntactical superset of JavaScript(upto ES2018(ES9))
Optional static typing support
Transpiles to JavaScript
Maintained by Microsoft with major collaboration from Google
Great editor and IDE support
@deepu105#DevoxxFR 2018
TypeScript features
Static type checking, Type inference, Type aliasing
Union, Intersection, Function and Hybrid types
Generics, Decorators(a.k.a annotations), Mixins(a.k.a traits)
Interface, Enum, Tuple support
Private, optional, readonly properties
JSX support, JS type checking and more
@deepu105#DevoxxFR 2018
@deepu105#DevoxxFR 2018
Brief History of
Angular, React & Vue.Js
@deepu105#DevoxxFR 2018
The History of Angular
Started as AngularJS in 2009 by Miško Hevery
GWT == 3 developers, 6 months
AngularJS == 1 developer, 3 weeks
Announced Angular 2, September 2014
2.0 Released in September 2016
5.0 Released November 1, 2017
https://angular.io/guide/quickstart
Front-end for Java developers Devoxx France 2018
Front-end for Java developers Devoxx France 2018
@deepu105#DevoxxFR 2018
The History of React
React was created by Jordan Walke in 2011 &
Open sourced in May 2013
Inspired by XHP, an HTML components
framework for PHP
Within one year, had large sites
Khan Academy, New York Times, Airbnb
+ Facebook and Instagram
16.0 released on September 26, 2017
https://codepen.io/gaearon/pen/ZpvBNJ
@deepu105#DevoxxFR 2018
The History of Vue.JS
Vue.Js was created by Evan You and released
in February 2014
Borrows concepts from AngularJS and React
Used by Alibaba, Baidu, Adobe, GitLab, etc.
2.5 released on October 13, 2017
Hello world with VueJS
My favorite and not-so-favorite features
Your Favorite Angular Features?
My Favorite Angular Features
Dependency Injection
Angular CLI
Resembles Java MVC Frameworks
Two-way Binding
Components, Services, and Directives
TypeScript
Ionic Framework
Webpack compiling TypeScript
Searchability: Angular vs AngularJS
Release Candidates in 2016
Testing Infrastructure
Too much boilerplate code
Your Favorite React Features?
My Favorite React Features
One way binding
Virtual DOM
JSX
Flexibility
Component based composability
Smart & Dumb components
React Native
One way binding
Dependency fatigue
JSX
Too many options for state management
No official style guide
Your Favorite VueJS Features?
My Favorite VueJS Features
Two way binding
Virtual DOM
JSX is supported
Flexibility
Component based composability
Low learning curve
Smaller community
No official style guide
Some library documentation are only in
chinese
Framework vs Library
Angular = Full fledged MVVM framework
React/VueJS = View rendering library
Angular = React + Redux + React Router … (React & Friends)
Let’s get the similarities out of the way
All are component-based
All are client side MVVM frameworks for building SPAs
All supports server-side rendering
All of them supports native mobile app development
All of them requires a build tool like webpack for optimal usage
All of them have comparable performance
All of them are MIT licenced (Finally!)
All of them support Typescript and provides official type definitions
Kickstarting Angular and React
Front-end for Java developers Devoxx France 2018
Front-end for Java developers Devoxx France 2018
Front-end for Java developers Devoxx France 2018
Angular CLI vs Create React App
Minimal dependencies
ES6 by default
Yarn by default
325 Lines of code (not counting
README)
PWA Score: 55/82
ng new app-name --minimal
TypeScript by default
npm by default
225 Lines of code
PWA Score: 18/36 (dev/prod)
ng generate component |
service
An optimal stack for Java developers
Easy to start Flexible
Typescript
React
Redux
React router
Jest
Typescript
Angular
Karma
Mocha
Chai
Using JHipster to kickstart
Want to learn more about JHipster?
Come to our BOF tonight!
Demo Time!
Recommendations
Learn the Language well, Frameworks are
just tools to help
Recommendation
If you have a lot of state: React
If you need simplicity & clean code: VueJS
If you’re familiar with Java MVC frameworks: Angular
If you want the easiest to learn and lightweight framework: VueJS
If you work at Facebook: React
If you work at Google: Angular
If you like structure and a helping hand: Angular
If you like flexibility: React or VueJS
Other Opinions
https://medium.com/unicorn-supplies/angular-vs-react-vs-vue-a-2017-comparison-c5c52d620176
https://clockwise.software/blog/angular-vs-react-vs-vue/
Other Opinions
https://hackernoon.com/angular-vs-react-the-deal-breaker-7d76c04496bc
https://jhipster.tech @java_hipster
Full Stack Development with JHipster
● Amazon: https://goo.gl/k1NBAv
● Packt: https://goo.gl/XvQLeN
○ Discount code: JHIPSTER50 for ebooks
○ Discount code: JHIPSTER15 for print books
Thank you!

More Related Content

PDF
Easy Microservices with JHipster - Devoxx BE 2017
PDF
Devoxx Belgium 2017 - easy microservices with JHipster
PDF
Javantura v4 - Android App Development in 2017 - Matej Vidaković
PDF
Javantura v4 - Angular2 - Ionic2 - from birth to stable versions - Hrvoje Pek...
PDF
Javantura v4 - CroDuke Indy and the Kingdom of Java Skills - Branko Mihaljevi...
PDF
Javantura v4 - The power of cloud in professional services company - Ivan Krn...
PDF
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
PDF
Devoxx : being productive with JHipster
Easy Microservices with JHipster - Devoxx BE 2017
Devoxx Belgium 2017 - easy microservices with JHipster
Javantura v4 - Android App Development in 2017 - Matej Vidaković
Javantura v4 - Angular2 - Ionic2 - from birth to stable versions - Hrvoje Pek...
Javantura v4 - CroDuke Indy and the Kingdom of Java Skills - Branko Mihaljevi...
Javantura v4 - The power of cloud in professional services company - Ivan Krn...
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Devoxx : being productive with JHipster

What's hot (20)

PDF
End-to-end HTML5 APIs - The Geek Gathering 2013
PDF
JHipster Code 2020 keynote
PDF
Javantura v4 - What’s NOT new in modular Java - Milen Dyankov
PDF
Jhipster
PDF
Building the Web with Gradle
PDF
JHipster Beyond CRUD - JHipster Conf' 2019
PDF
Who needs containers in a serverless world
PPTX
Devops online training ppt
PDF
Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014
PDF
In defense of GWT-RPC By Colin Alworth
PPTX
Gradle.Enemy at the gates
PPTX
GraphQL-ify your APIs
PDF
Microservices, the lean way
PPTX
The art of decomposing monoliths - Kfir Bloch - Codemotion Amsterdam 2016
PDF
Micro Frontends
PDF
What's new in Gradle 4.0
PDF
PouchDB - The Database That Syncs
PDF
Ratpack Web Framework
PDF
Microservice no fluff, the REAL stuff
PPTX
GraphQL-ify your APIs - Devoxx UK 2021
End-to-end HTML5 APIs - The Geek Gathering 2013
JHipster Code 2020 keynote
Javantura v4 - What’s NOT new in modular Java - Milen Dyankov
Jhipster
Building the Web with Gradle
JHipster Beyond CRUD - JHipster Conf' 2019
Who needs containers in a serverless world
Devops online training ppt
Conquer Architectural Challenges with End-to-End JavaScript - enterJS 2014
In defense of GWT-RPC By Colin Alworth
Gradle.Enemy at the gates
GraphQL-ify your APIs
Microservices, the lean way
The art of decomposing monoliths - Kfir Bloch - Codemotion Amsterdam 2016
Micro Frontends
What's new in Gradle 4.0
PouchDB - The Database That Syncs
Ratpack Web Framework
Microservice no fluff, the REAL stuff
GraphQL-ify your APIs - Devoxx UK 2021
Ad

Similar to Front-end for Java developers Devoxx France 2018 (20)

PPTX
Angular vs React vs Vue
PDF
Angular vs React - Devoxx BE 2017
PDF
Angular vs React Smackdown - Devoxx BE 2017
PPTX
Frontend War: Angular vs React vs Vue
PDF
Introduction to javascript technologies
PDF
Introduction to JavaScript Frameworks: React vs Angular vs Vue Compared
PPTX
Reactjs vs angularjs vs vuejs a guide to select the best front end technolog...
PPTX
Angular Vs React Vs Vue.pptx
PDF
React vs. Angular vs. Vue.js: Comparing the Most Popular Front-end Frameworks
PPT
Js frameworks
PDF
AngularJS vs ReactJS: Which One is Best for Next Front-end Development
PDF
Angular VS React The Battle of Best Front End Frameworks.pdf
PPTX
Vue Framework: Why is the best alternative to React and Angular? 
PDF
AngularJS Vs ReactJS_ What’s The Difference_.pdf
PPTX
Trending Popular JavaScript Frameworks.pptx
PDF
Angular vs React vs Vue – The Right Framework For You.pdf
PDF
Top Factors to Determine the Right Development Option In Between Angular & VueJS
PDF
What Are The Best Alternatives Of Angular_.pdf
PPTX
React js, node js & angular js which one is the best for web development
PDF
Angular.js vs. vue.js – which one is the better choice in 2022
Angular vs React vs Vue
Angular vs React - Devoxx BE 2017
Angular vs React Smackdown - Devoxx BE 2017
Frontend War: Angular vs React vs Vue
Introduction to javascript technologies
Introduction to JavaScript Frameworks: React vs Angular vs Vue Compared
Reactjs vs angularjs vs vuejs a guide to select the best front end technolog...
Angular Vs React Vs Vue.pptx
React vs. Angular vs. Vue.js: Comparing the Most Popular Front-end Frameworks
Js frameworks
AngularJS vs ReactJS: Which One is Best for Next Front-end Development
Angular VS React The Battle of Best Front End Frameworks.pdf
Vue Framework: Why is the best alternative to React and Angular? 
AngularJS Vs ReactJS_ What’s The Difference_.pdf
Trending Popular JavaScript Frameworks.pptx
Angular vs React vs Vue – The Right Framework For You.pdf
Top Factors to Determine the Right Development Option In Between Angular & VueJS
What Are The Best Alternatives Of Angular_.pdf
React js, node js & angular js which one is the best for web development
Angular.js vs. vue.js – which one is the better choice in 2022
Ad

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
PPTX
CroxyProxy Instagram Access id login.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Transforming Manufacturing operations through Intelligent Integrations
PPTX
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
How to Build Crypto Derivative Exchanges from Scratch.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
DevOps & Developer Experience Summer BBQ
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
How AI Agents Improve Data Accuracy and Consistency in Due Diligence.pdf
PDF
Google’s NotebookLM Unveils Video Overviews
PDF
Dell Pro 14 Plus: Be better prepared for what’s coming
NewMind AI Monthly Chronicles - July 2025
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
CroxyProxy Instagram Access id login.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Transforming Manufacturing operations through Intelligent Integrations
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Weekly Chronicles - August'25 Week I
How to Build Crypto Derivative Exchanges from Scratch.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
GamePlan Trading System Review: Professional Trader's Honest Take
DevOps & Developer Experience Summer BBQ
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
Sensors and Actuators in IoT Systems using pdf
How AI Agents Improve Data Accuracy and Consistency in Due Diligence.pdf
Google’s NotebookLM Unveils Video Overviews
Dell Pro 14 Plus: Be better prepared for what’s coming

Front-end for Java developers Devoxx France 2018