SlideShare a Scribd company logo
Hack `n` Tell
“Java for Hipsters:
how to develop fast, cool and in
trendy manner”
A
Generic hipster portrait:
- Like trendy stuff
- Watches TV series from Netflix
- Loves Muffins
- Dislike to work hard
- Uses twitter
Intro
Agenda
- how to be fast
- project kickstarters
- code generation
- microservices & tools
- spring components
- microservices tools
- demo
Campaign
proposal
Project & code generation:
Create each time
- mvn folder structure
- pom.xml | gradle.build
- web.xml, myapp-servlet.xml,
- MyAppApplication.class
- etc
IS TOO BORING!
Lets kickstart project with generator!
Campaign
proposal
What's Yeoman?
Yeoman helps you to kickstart new projects,
prescribing best practices and tools to help you stay
productive.
Generators are available for Angular, Java,
Backbone, React, Polymer
and over 3900+ other projects.
Project generation
Campaign
proposal
Technology stack on the client side
HTML5 Boilerplate
Twitter Bootstrap
AngularJS
Sass
installation - Bower
Build - Gulp.js
Testing - Karma and PhantomJS
template engine - Thymeleaf
Technology stack on the server side
Spring Boot
Maven or Gradle
"development" and "production" profiles
Spring Security
Spring MVC REST + Jackson
WebSocket support with Spring Websocket
Spring Data JPA + Bean Validation
Database updates with Liquibase
Elasticsearch
MongoDB
Cassandra
Monitoring with Metrics
Project generation
Code generation
Lombok project
Bolerplate code – the biggest evil in Java
@NonNull
@Cleanup
@Getter / @Setter
@ToString
@EqualsAndHashCod
e
@NoArgsConstructor,
@AllArgsConstructor
@Data
@Value
@Builder
@SneakyThrows
@Synchronized
@Log
@Slf4j
@Log4j
@CommonsLog
Java4hipsters
Campaign
proposal
Microservices
with Spring and Netflix OSS
Netflix microservices architecture
microservice topology or how much services should I have?
Main challenges:
- Service discovery
- Load balancing
- Config management
- Circuit brake
- Health monitoring
Mc'Donalds architecture
getMenu()
makeOrder()
Cashbox Service
getPrices()
Price Service
storeOrder()
getReport()
Report Service
getConfig()
Config Service
healthCheck()
Dashboard Service
registerService()
getServiceLocation()
Discovery Service
H2 DB
Java4hipsters

More Related Content

PPTX
AWS Summit - Trends in Advanced Monitoring for AWS environments
PDF
Laravel & google cloud platform do mix​!
PDF
Blazing Fast eCommerce with Gatsby, WordPress, and WooCommerce by Muhammad Mu...
PPTX
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
PPTX
Basic architecuture and operation concept of Backlog and Cacoo
PPTX
Implementing CI/CD in a Serverless Environment
PDF
SPA Flask Vue
PDF
Serverless Empowering people
AWS Summit - Trends in Advanced Monitoring for AWS environments
Laravel & google cloud platform do mix​!
Blazing Fast eCommerce with Gatsby, WordPress, and WooCommerce by Muhammad Mu...
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
Basic architecuture and operation concept of Backlog and Cacoo
Implementing CI/CD in a Serverless Environment
SPA Flask Vue
Serverless Empowering people

What's hot (16)

PDF
Saving Money by Optimizing Your Cloud Add-On Infrastructure
PDF
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
PDF
Ryan Brown - Open Community
PDF
Accelerating Add-on Development From Concept to Launch
PDF
Gerenciando o ciclo de vida de aplicações com AWS Elastic Beanstalk
PDF
Fluent 2018: When third parties stop being polite... and start getting real
PDF
5 Essential Techniques for Building Fault-tolerant Systems
PDF
What is WAAT?
PDF
2016 05-cloudsoft-amp-and-brooklyn-new
PDF
Demystifying Web Performance
PDF
Driving Pipeline Automation With Newman and the Postman API
PDF
Make Data Smart Again 2018 - Building a Smart Security Camera with Raspberry ...
PDF
Magnus Mårtensson: The Cloud challenge is more than just technical – people a...
PDF
FaaS or not to FaaS. It's not a silver bullet. AWS User Group Cologne October...
PDF
Fluent 2018: Measuring What Matters
PDF
Monitoring the #DevOps way
Saving Money by Optimizing Your Cloud Add-On Infrastructure
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Ryan Brown - Open Community
Accelerating Add-on Development From Concept to Launch
Gerenciando o ciclo de vida de aplicações com AWS Elastic Beanstalk
Fluent 2018: When third parties stop being polite... and start getting real
5 Essential Techniques for Building Fault-tolerant Systems
What is WAAT?
2016 05-cloudsoft-amp-and-brooklyn-new
Demystifying Web Performance
Driving Pipeline Automation With Newman and the Postman API
Make Data Smart Again 2018 - Building a Smart Security Camera with Raspberry ...
Magnus Mårtensson: The Cloud challenge is more than just technical – people a...
FaaS or not to FaaS. It's not a silver bullet. AWS User Group Cologne October...
Fluent 2018: Measuring What Matters
Monitoring the #DevOps way
Ad

Viewers also liked (8)

PDF
Mobile Commerce Trends 2013: Insights from Google
PPT
Как пройти пути от любительских поделок на Arduino до промышленных решений за...
PDF
Final countdown-in-sales
PDF
Agile business development.
PPTX
Стек протоколов для IoT. Пример использования SNMP
PPTX
DIY IoT: Raspberry PI 2 + Windows 10 for IoT devices + Microsoft Azure
PDF
Infographic based on "Scrum: the art of doing twice the work in half the time"
DOCX
ARALING PANLIPUNAN
Mobile Commerce Trends 2013: Insights from Google
Как пройти пути от любительских поделок на Arduino до промышленных решений за...
Final countdown-in-sales
Agile business development.
Стек протоколов для IoT. Пример использования SNMP
DIY IoT: Raspberry PI 2 + Windows 10 for IoT devices + Microsoft Azure
Infographic based on "Scrum: the art of doing twice the work in half the time"
ARALING PANLIPUNAN
Ad

Similar to Java4hipsters (20)

PDF
Building NLP applications with Transformers
PPTX
It new2015
PDF
Project Based Learning using by PaaS
PPTX
ServerTemplate Deep Dive
PDF
Using JHipster for generating Angular/Spring Boot apps
PDF
Exploring pwa for shopware
PPTX
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
PDF
Matthew Davis Resume
PDF
Using JHipster 4 for generating Angular/Spring Boot apps
PDF
Confluent Partner Tech Talk with Synthesis
PPT
All Change how the economics of Cloud will make you think differently about Java
PDF
How To Build Efficient ML Pipelines From The Startup Perspective (GTC Silicon...
PPTX
Let's Talk ProIV and Alexa
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
ODP
Web Development in Django
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
How to Choose Your Tech Stack?
PDF
Why Kubernetes? Cloud Native and Developer Experience at Zalando - OWL Tech &...
PDF
Swagger code motion talk
PDF
Streaming Machine Learning with Python, Jupyter, TensorFlow, Apache Kafka and...
Building NLP applications with Transformers
It new2015
Project Based Learning using by PaaS
ServerTemplate Deep Dive
Using JHipster for generating Angular/Spring Boot apps
Exploring pwa for shopware
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
Matthew Davis Resume
Using JHipster 4 for generating Angular/Spring Boot apps
Confluent Partner Tech Talk with Synthesis
All Change how the economics of Cloud will make you think differently about Java
How To Build Efficient ML Pipelines From The Startup Perspective (GTC Silicon...
Let's Talk ProIV and Alexa
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Web Development in Django
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
How to Choose Your Tech Stack?
Why Kubernetes? Cloud Native and Developer Experience at Zalando - OWL Tech &...
Swagger code motion talk
Streaming Machine Learning with Python, Jupyter, TensorFlow, Apache Kafka and...

More from Intersog (20)

PPTX
The power of 1 on 1
PPTX
FrontEnd: JS + css + html
PPTX
Clients mean all_for_us
PDF
Intersog Hack_n_Tell. Docker. First steps.
PDF
How to bring greater QA value with a little bit of release management
PPTX
How to Create a Data Infrastructure
PPTX
No one likes getting up at 3 am to fix bugs OR how to be a better developer
PPTX
Как не завалить клиентское интервью
PDF
Zigbee social network
PPTX
​Успешные, популярные и интересные IoT проекты в США. Тренды
PDF
Small tips для иррационала
PDF
Healthcare. Правила коммуникации.
PPTX
The Unicorn Workflow
PPTX
Co-Founder & CEO Igor Fedulov and senior software engineer Igor Rolinskiy abo...
PDF
Outsourcing - different views UPD
PDF
Internet of Things (IoT) in a Nutshell
PDF
Mobile Monday Kiev#1 - How to save time in Mobile Apps Development
PDF
Mobile applications in a new way with React Native (by Eugene Zharkov) - Hack...
PDF
Isomorphic React.js (by Maksym Klymyshyn) - Hack'n'Tell JavaScript - 2015.05.16
PPTX
Web components + Material design = Polymer (by Vyatcheslav Potravnyy) - Hack'...
The power of 1 on 1
FrontEnd: JS + css + html
Clients mean all_for_us
Intersog Hack_n_Tell. Docker. First steps.
How to bring greater QA value with a little bit of release management
How to Create a Data Infrastructure
No one likes getting up at 3 am to fix bugs OR how to be a better developer
Как не завалить клиентское интервью
Zigbee social network
​Успешные, популярные и интересные IoT проекты в США. Тренды
Small tips для иррационала
Healthcare. Правила коммуникации.
The Unicorn Workflow
Co-Founder & CEO Igor Fedulov and senior software engineer Igor Rolinskiy abo...
Outsourcing - different views UPD
Internet of Things (IoT) in a Nutshell
Mobile Monday Kiev#1 - How to save time in Mobile Apps Development
Mobile applications in a new way with React Native (by Eugene Zharkov) - Hack...
Isomorphic React.js (by Maksym Klymyshyn) - Hack'n'Tell JavaScript - 2015.05.16
Web components + Material design = Polymer (by Vyatcheslav Potravnyy) - Hack'...

Recently uploaded (20)

PDF
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
System and Network Administration Chapter 2
PPTX
Introduction to Artificial Intelligence
PDF
Forouzan Book Information Security Chaper - 1
PDF
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
PPTX
Presentation of Computer CLASS 2 .pptx
PPTX
CRUISE TICKETING SYSTEM | CRUISE RESERVATION SOFTWARE
PDF
top salesforce developer skills in 2025.pdf
PPTX
Save Business Costs with CRM Software for Insurance Agents
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
AIRLINE PRICE API | FLIGHT API COST |
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Build Multi-agent using Agent Development Kit
PDF
A REACT POMODORO TIMER WEB APPLICATION.pdf
PDF
How to Confidently Manage Project Budgets
PPT
JAVA ppt tutorial basics to learn java programming
PPTX
Benefits of DCCM for Genesys Contact Center
PDF
Jenkins: An open-source automation server powering CI/CD Automation
PDF
Convert Thunderbird to Outlook into bulk
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
Upgrade and Innovation Strategies for SAP ERP Customers
System and Network Administration Chapter 2
Introduction to Artificial Intelligence
Forouzan Book Information Security Chaper - 1
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
Presentation of Computer CLASS 2 .pptx
CRUISE TICKETING SYSTEM | CRUISE RESERVATION SOFTWARE
top salesforce developer skills in 2025.pdf
Save Business Costs with CRM Software for Insurance Agents
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
AIRLINE PRICE API | FLIGHT API COST |
How Creative Agencies Leverage Project Management Software.pdf
Build Multi-agent using Agent Development Kit
A REACT POMODORO TIMER WEB APPLICATION.pdf
How to Confidently Manage Project Budgets
JAVA ppt tutorial basics to learn java programming
Benefits of DCCM for Genesys Contact Center
Jenkins: An open-source automation server powering CI/CD Automation
Convert Thunderbird to Outlook into bulk

Java4hipsters

  • 1. Hack `n` Tell “Java for Hipsters: how to develop fast, cool and in trendy manner” A
  • 2. Generic hipster portrait: - Like trendy stuff - Watches TV series from Netflix - Loves Muffins - Dislike to work hard - Uses twitter Intro
  • 3. Agenda - how to be fast - project kickstarters - code generation - microservices & tools - spring components - microservices tools - demo
  • 4. Campaign proposal Project & code generation: Create each time - mvn folder structure - pom.xml | gradle.build - web.xml, myapp-servlet.xml, - MyAppApplication.class - etc IS TOO BORING! Lets kickstart project with generator!
  • 5. Campaign proposal What's Yeoman? Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. Generators are available for Angular, Java, Backbone, React, Polymer and over 3900+ other projects. Project generation
  • 6. Campaign proposal Technology stack on the client side HTML5 Boilerplate Twitter Bootstrap AngularJS Sass installation - Bower Build - Gulp.js Testing - Karma and PhantomJS template engine - Thymeleaf Technology stack on the server side Spring Boot Maven or Gradle "development" and "production" profiles Spring Security Spring MVC REST + Jackson WebSocket support with Spring Websocket Spring Data JPA + Bean Validation Database updates with Liquibase Elasticsearch MongoDB Cassandra Monitoring with Metrics Project generation
  • 7. Code generation Lombok project Bolerplate code – the biggest evil in Java @NonNull @Cleanup @Getter / @Setter @ToString @EqualsAndHashCod e @NoArgsConstructor, @AllArgsConstructor @Data @Value @Builder @SneakyThrows @Synchronized @Log @Slf4j @Log4j @CommonsLog
  • 11. microservice topology or how much services should I have?
  • 12. Main challenges: - Service discovery - Load balancing - Config management - Circuit brake - Health monitoring
  • 13. Mc'Donalds architecture getMenu() makeOrder() Cashbox Service getPrices() Price Service storeOrder() getReport() Report Service getConfig() Config Service healthCheck() Dashboard Service registerService() getServiceLocation() Discovery Service H2 DB

Editor's Notes