SlideShare a Scribd company logo
BE	REACTIVE	AND	MICRO
WITH	A	MICROPROFILE
STACK
Ondrej	Mihályi
@omihalyi
WHAT	DO	WE	WANT?
	@OMihalyi
there	should	be	a
PROBLEM	to	solve
WHY	DO	WE	WANT	IT?
	@OMihalyi
BETTER	USER	EXPERIENCE
updates	when	ready,	reduced
waiting
errors	raised	ASAP
users	can	react	faster
avoids	unnecessary	user	retries
	@OMihalyi
HANDLE	HIGH	LOADS
utilize	resources	at	maximum	(CPU)
threads	aren't	wasted	by	blocking
avoid	blocking	of	new	requests
	@OMihalyi
HANDLE	MASSIVE	LOADS
scale	to	more	nodes
messaging	to	distribute	the	load
	@OMihalyi
DON'T	FORGET	ABOUT	FAILURES
fail	fast	and	avoid	waste
make	sure	failures	are	handled
failures	happen	a	lot	more	in
distributed	systems
	@OMihalyi
WHAT	IS	MICROPROFILE?
open-source	specification	for	Java
microservices	( )microprofile.io
	@OMihalyi
REACTIVE	SUPPORT	IN
MICROPROFILE
Asynchronous	REST	(JAX-RS)
CDI	events
easy	Fault	Tolerance
Monitoring	via	Metrics
	@OMihalyi
WE'LL	ADD	WHAT'S	MISSING
RxJava
handle	callbacks	and	data	streams
asynchronous	Fault	Tolerance
React.js
easy	updates	on	events
	@OMihalyi
OUR	DEMO	APPLICATION
	@OMihalyi
DEMO
Source:	https://github.com/OndrejM-demonstrations/Reactive-and-Micro-
with-MicroProfile-and-Payara
	@OMihalyi
WE'LL	ADD	MORE
Java	EE	8
reactive	REST	client	(JAX-RS)
Server-Sent	Events
Kafka	JCA	connector
Hazelcast
distributed	cache	and	other	structures
NoSQL	distributed	datastore
	@OMihalyi
DEMO
	@OMihalyi
PAYARA	SERVER
MicroProfile,	Java	EE,	Hazelcast,	Cloud	JCA
Connectors,	CDI	event	bus
dynamic	clustering	(suitable	for	cloud)
fast	development
admin	console
monitoring
	@OMihalyi
PAYARA	MICRO
APIs	as	in	Server	(except	SOAP,	remote	EJB)
most	of	features	of	the	Server
executable	JAR,	<70	MB
easier	to	install	and	run	apps
command	line,	maven	plugin
build	uber	JAR
	@OMihalyi
WHAT	TO	AVOID
relying	on	request	scope
relying	on	thread	local
using	synchronous	CDI	interceptors
Don't	jump	to	reactive	before	needed
	@OMihalyi
QUESTIONS?
Thank	you!
	@OMihalyi

More Related Content

PPTX
The Future of performance support
PDF
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
PDF
MicroProfile Panel - Sept 2016
PDF
Effective cloud-ready apps with MicroProfile
PDF
Lightweight Java EE with MicroProfile
PDF
Bed con Quest for JavaEE
PPTX
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
PDF
Monitor Microservices with MicroProfile Metrics
The Future of performance support
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
MicroProfile Panel - Sept 2016
Effective cloud-ready apps with MicroProfile
Lightweight Java EE with MicroProfile
Bed con Quest for JavaEE
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
Monitor Microservices with MicroProfile Metrics

Similar to Ondrej mihalyi be reactive and micro with a micro profile stack (20)

PDF
Monitor Micro-service with MicroProfile metrics
PPTX
JakartaOne Livestream CN4J: Eclipse MicroProfile - Your Cloud-Native Companion
PDF
MicroProfile for MicroServices
PDF
Master a Cloud Native Standard - MicroProfile.pdf
PPTX
TechEvent Eclipse Microprofile
PPTX
Introduction to Eclipse Microprofile
PDF
Control and monitor_microservices_with_microprofile
PDF
Master a Cloud Native Standard - MicroProfile.pdf
PDF
2018 11 lightweight-microservices-microprofile
PPTX
Cloud nativemicroservices jax-london2020
PPTX
Cloud nativemicroservices jax-london2020
PPTX
Cloud nativeworkshop
PDF
MicroProfile: Optimizing Java EE for a Microservices Architecture
PDF
The Monitoring and Metic aspects of Eclipse MicroProfile
PDF
Creando microservicios con Java y Microprofile - Nicaragua JUG
PDF
Micro service pitfalls voxxed days istanbul 2015
PDF
Live Coding 12 Factor App
PPTX
Cloud native programming model comparison
PDF
Java2 days 5_agile_steps_to_cloud-ready_apps
PDF
Gradual migration to MicroProfile
Monitor Micro-service with MicroProfile metrics
JakartaOne Livestream CN4J: Eclipse MicroProfile - Your Cloud-Native Companion
MicroProfile for MicroServices
Master a Cloud Native Standard - MicroProfile.pdf
TechEvent Eclipse Microprofile
Introduction to Eclipse Microprofile
Control and monitor_microservices_with_microprofile
Master a Cloud Native Standard - MicroProfile.pdf
2018 11 lightweight-microservices-microprofile
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Cloud nativeworkshop
MicroProfile: Optimizing Java EE for a Microservices Architecture
The Monitoring and Metic aspects of Eclipse MicroProfile
Creando microservicios con Java y Microprofile - Nicaragua JUG
Micro service pitfalls voxxed days istanbul 2015
Live Coding 12 Factor App
Cloud native programming model comparison
Java2 days 5_agile_steps_to_cloud-ready_apps
Gradual migration to MicroProfile
Ad

More from Payara (20)

PPTX
Easy Java Integration Testing with Testcontainers​
PPTX
Payara Cloud - Cloud Native Jakarta EE.pptx
PPTX
Jakarta Concurrency: Present and Future
PPTX
GlassFish Migration Webinar 2022 Current version.pptx
PPTX
10 Strategies for Developing Reliable Jakarta EE & MicroProfile Applications ...
PDF
Securing Microservices with MicroProfile and Auth0v2
PDF
Reactive features of MicroProfile you need to learn
PDF
A step-by-step guide from traditional Java EE to reactive microservice design
PDF
Transactions in Microservices
PPTX
Fun with Kubernetes and Payara Micro 5
PDF
What's new in Jakarta EE and Eclipse GlassFish (May 2019)
PDF
Previewing Payara Platform 5.192
PDF
Secure JAX-RS
PDF
Gradual Migration to MicroProfile
PDF
Rapid development tools for java ee 8 and micro profile [GIDS]
PPTX
Payara Micro from Raspberry Pi to Cloud
PPTX
Microprofile and EE4J update
PDF
Elastic and Cloud-ready Applications with Payara Micro
PDF
Devoxx Easily scale enterprise applications using distributed data grids
PPTX
Demystifying microservices for JavaEE developers by Steve Millidge.
Easy Java Integration Testing with Testcontainers​
Payara Cloud - Cloud Native Jakarta EE.pptx
Jakarta Concurrency: Present and Future
GlassFish Migration Webinar 2022 Current version.pptx
10 Strategies for Developing Reliable Jakarta EE & MicroProfile Applications ...
Securing Microservices with MicroProfile and Auth0v2
Reactive features of MicroProfile you need to learn
A step-by-step guide from traditional Java EE to reactive microservice design
Transactions in Microservices
Fun with Kubernetes and Payara Micro 5
What's new in Jakarta EE and Eclipse GlassFish (May 2019)
Previewing Payara Platform 5.192
Secure JAX-RS
Gradual Migration to MicroProfile
Rapid development tools for java ee 8 and micro profile [GIDS]
Payara Micro from Raspberry Pi to Cloud
Microprofile and EE4J update
Elastic and Cloud-ready Applications with Payara Micro
Devoxx Easily scale enterprise applications using distributed data grids
Demystifying microservices for JavaEE developers by Steve Millidge.
Ad

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
Modernizing your data center with Dell and AMD
Dropbox Q2 2025 Financial Results & Investor Presentation
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Advanced Soft Computing BINUS July 2025.pdf
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?

Ondrej mihalyi be reactive and micro with a micro profile stack