SlideShare a Scribd company logo
@croft#Devoxx #PayaraMicro #BadassFish
Java EE Microservices:
The Payara Way
Mike Croft
Payara
@croft#Devoxx #PayaraMicro #BadassFish
Who am I?
• Java Middleware Consultant
• Payara support
• @croft
• Snowboarder
@croft#Devoxx #PayaraMicro #BadassFish
Who are you?
• Developers?
• Ops?
• DevOps?
• Everything…!?
@croft#Devoxx #PayaraMicro #BadassFish
What is this about?
• Buzzwords?
• Opinions?
• Tools-In-Action
@croft#Devoxx #PayaraMicro #BadassFish
What is Payara?
• Payara is…
• Built from GlassFish – Java EE RI
• Entirely open source (CDDL), forever
• Active
• Released quarterly
• (snapshot builds also available)
@croft#Devoxx #PayaraMicro #BadassFish
What is Payara Micro?
• Payara Micro is…
• Micro! (~58MB)
• Elastic
• Fully embeddable (if you want…)
• Web Profile “plus”
• On Maven Central
<dependency>
<groupId>fish.payara.extras</groupId>
<ArtifactId>payara-micro</artifactId>
<version>4.1.1.154</version>
<type>jar</type>
</dependency>
Demo
@croft#Devoxx #PayaraMicro #BadassFish
@croft#Devoxx #PayaraMicro #BadassFish
Demo Scenario
• Fat JAR or skinny WAR?
• RESTful API?
• Data centre or cloud?
@croft#Devoxx #PayaraMicro #BadassFish
Demo Scenario
• “Traditional” hosts
• Local deployments
• AWS EC2 via Vagrant
• Containers
• Bonus: full-fat Java EE full profile cluster in Docker (if
there’s time)
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Start Payara Micro
• java -jar payara-micro.jar
• Start another!
• …
• java -jar payara-micro.jar --autoBindHttp
• What about actually running something
useful?
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Payara REST JCache example
• https://github.com/payara/Payara-Examples/tree/master/rest-examples/rest-jcache
java -jar payara-micro.jar --autoBindHttp --deploy myApp.war
OR
java -jar payara-micro.jar --autoBindHttp --deploymentDir myApps/
@croft#Devoxx #PayaraMicro #BadassFish
Demo
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• PUT
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• GET
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Payara Micro + AWS = Elastic cluster
• Vagrant AWS plugin
• Vagrant ENV plugin
• Note: This is just a demo, the better way is to use a
DevOps tool!
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Docker
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Docker
@croft#Devoxx #PayaraMicro #BadassFish
Demo
• Note: This is just a demo, the better way is to use some
of the extensive tooling (e.g. etcd, kubernetes, docker
swarm)
@croft#Devoxx #PayaraMicro #BadassFish
Questions?

More Related Content

PPTX
Deploying Elastic Java EE Microservices in the Cloud with Docker
PPTX
Badass Microservices - deploy, build & scale your apps with Payara Micro
PPTX
Developing JavaEE 7 based apps with Payara Micro
PPTX
Developing Java EE applications with NetBeans and Payara
PPTX
JPA 2.1 on Payara Server
PDF
Microservices with Spring Cloud
PDF
Secure JAX-RS
PDF
Gradual migration to MicroProfile
Deploying Elastic Java EE Microservices in the Cloud with Docker
Badass Microservices - deploy, build & scale your apps with Payara Micro
Developing JavaEE 7 based apps with Payara Micro
Developing Java EE applications with NetBeans and Payara
JPA 2.1 on Payara Server
Microservices with Spring Cloud
Secure JAX-RS
Gradual migration to MicroProfile

What's hot (20)

PDF
Automating security with PowerShell
PPTX
Monoliths vs microservices
PPT
Nordstrom Data Lab Recommendo API with Node.js
PPTX
Building your own JEA Configuration
PPTX
AWS Meetup - Nordstrom Data Lab and the AWS Cloud
PPTX
An Introduction to Docker
PDF
Monitor Micro-service with MicroProfile metrics
PPTX
SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens
PDF
Effective cloud-ready apps with MicroProfile
PDF
Java 8: Nashorn & avatar.js di Enrico Risa al JUG Roma
PDF
Secure your environment by automation
PDF
Building Services with WSO2 Microservices Framework for Java
PDF
CrossWorlds: Unleash the Power of Domino for Connections Development
PPTX
Microservices without servers
PPTX
Secure your servers in time with JIT and JEA
PDF
Swagger code motion talk
PPT
Spring Boot with Quartz
PPTX
Spring Web flow. A little flow of happiness
PPTX
Writing power shell the right tool for the job
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Automating security with PowerShell
Monoliths vs microservices
Nordstrom Data Lab Recommendo API with Node.js
Building your own JEA Configuration
AWS Meetup - Nordstrom Data Lab and the AWS Cloud
An Introduction to Docker
Monitor Micro-service with MicroProfile metrics
SenchaCon 2016: Being Productive with the New Sencha Fiddle - Mitchell Simoens
Effective cloud-ready apps with MicroProfile
Java 8: Nashorn & avatar.js di Enrico Risa al JUG Roma
Secure your environment by automation
Building Services with WSO2 Microservices Framework for Java
CrossWorlds: Unleash the Power of Domino for Connections Development
Microservices without servers
Secure your servers in time with JIT and JEA
Swagger code motion talk
Spring Boot with Quartz
Spring Web flow. A little flow of happiness
Writing power shell the right tool for the job
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Ad

Similar to JavaEE Microservices -the Payara Way (20)

PDF
Payara Revealed 1st Edition David R. Heffelfinger
PDF
Previewing Payara Platform 5.192
PDF
MicroProfile for MicroServices
PDF
Bed con Quest for JavaEE
PPTX
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
PPTX
Microservices Platforms - Which is Best?
PPTX
JavaEE Microservices platforms
PPTX
Demystifying microservices for JavaEE developers by Steve Millidge.
PDF
Elastic and Cloud-ready Applications with Payara Micro
PDF
Elastic and Cloud-ready Applications with Payara Micro
PDF
Elastic and Cloud-ready Applications with Payara Micro
PPTX
Supercharge JavaEE applications using JCache
PPTX
Payara Cloud - Cloud Native Jakarta EE.pptx
PDF
Glassfish Overview 29 Oktober 2009
PDF
High Performance Java EE with JCache and CDI
PDF
Tnt 2020-jf-james
PPTX
JakartaOne Livestream CN4J: Eclipse MicroProfile - Your Cloud-Native Companion
PDF
Boston 2011 OTN Developer Days - GlassFish
ODP
Gf University 27may09 Amersfoort
PDF
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
Payara Revealed 1st Edition David R. Heffelfinger
Previewing Payara Platform 5.192
MicroProfile for MicroServices
Bed con Quest for JavaEE
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
Microservices Platforms - Which is Best?
JavaEE Microservices platforms
Demystifying microservices for JavaEE developers by Steve Millidge.
Elastic and Cloud-ready Applications with Payara Micro
Elastic and Cloud-ready Applications with Payara Micro
Elastic and Cloud-ready Applications with Payara Micro
Supercharge JavaEE applications using JCache
Payara Cloud - Cloud Native Jakarta EE.pptx
Glassfish Overview 29 Oktober 2009
High Performance Java EE with JCache and CDI
Tnt 2020-jf-james
JakartaOne Livestream CN4J: Eclipse MicroProfile - Your Cloud-Native Companion
Boston 2011 OTN Developer Days - GlassFish
Gf University 27may09 Amersfoort
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
Ad

More from Payara (20)

PPTX
Easy Java Integration Testing with Testcontainers​
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
Gradual Migration to MicroProfile
PDF
Monitor Microservices with MicroProfile Metrics
PDF
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
PDF
Java2 days 5_agile_steps_to_cloud-ready_apps
PDF
Rapid development tools for java ee 8 and micro profile [GIDS]
PDF
Ondrej mihalyi be reactive and micro with a micro profile stack
PPTX
Payara Micro from Raspberry Pi to Cloud
PPTX
Microprofile and EE4J update
PDF
Devoxx Easily scale enterprise applications using distributed data grids
PPTX
Connect JavaEE to the cloud with JCA by Steve Millidge
Easy Java Integration Testing with Testcontainers​
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)
Gradual Migration to MicroProfile
Monitor Microservices with MicroProfile Metrics
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
Java2 days 5_agile_steps_to_cloud-ready_apps
Rapid development tools for java ee 8 and micro profile [GIDS]
Ondrej mihalyi be reactive and micro with a micro profile stack
Payara Micro from Raspberry Pi to Cloud
Microprofile and EE4J update
Devoxx Easily scale enterprise applications using distributed data grids
Connect JavaEE to the cloud with JCA by Steve Millidge

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
KodekX | Application Modernization Development
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
KodekX | Application Modernization Development
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

JavaEE Microservices -the Payara Way