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

What's hot (20)

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

Similar to JavaEE Microservices -the Payara Way (20)

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

More from Payara (20)

PPTX
Easy Java Integration Testing with Testcontainers​
Payara
 
PPTX
Jakarta Concurrency: Present and Future
Payara
 
PPTX
GlassFish Migration Webinar 2022 Current version.pptx
Payara
 
PPTX
10 Strategies for Developing Reliable Jakarta EE & MicroProfile Applications ...
Payara
 
PDF
Securing Microservices with MicroProfile and Auth0v2
Payara
 
PDF
Reactive features of MicroProfile you need to learn
Payara
 
PDF
A step-by-step guide from traditional Java EE to reactive microservice design
Payara
 
PDF
Transactions in Microservices
Payara
 
PPTX
Fun with Kubernetes and Payara Micro 5
Payara
 
PDF
What's new in Jakarta EE and Eclipse GlassFish (May 2019)
Payara
 
PDF
Gradual Migration to MicroProfile
Payara
 
PDF
Monitor Microservices with MicroProfile Metrics
Payara
 
PDF
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
Payara
 
PDF
Java2 days 5_agile_steps_to_cloud-ready_apps
Payara
 
PDF
Rapid development tools for java ee 8 and micro profile [GIDS]
Payara
 
PDF
Ondrej mihalyi be reactive and micro with a micro profile stack
Payara
 
PPTX
Payara Micro from Raspberry Pi to Cloud
Payara
 
PPTX
Microprofile and EE4J update
Payara
 
PDF
Devoxx Easily scale enterprise applications using distributed data grids
Payara
 
PPTX
Connect JavaEE to the cloud with JCA by Steve Millidge
Payara
 
Easy Java Integration Testing with Testcontainers​
Payara
 
Jakarta Concurrency: Present and Future
Payara
 
GlassFish Migration Webinar 2022 Current version.pptx
Payara
 
10 Strategies for Developing Reliable Jakarta EE & MicroProfile Applications ...
Payara
 
Securing Microservices with MicroProfile and Auth0v2
Payara
 
Reactive features of MicroProfile you need to learn
Payara
 
A step-by-step guide from traditional Java EE to reactive microservice design
Payara
 
Transactions in Microservices
Payara
 
Fun with Kubernetes and Payara Micro 5
Payara
 
What's new in Jakarta EE and Eclipse GlassFish (May 2019)
Payara
 
Gradual Migration to MicroProfile
Payara
 
Monitor Microservices with MicroProfile Metrics
Payara
 
Java2 days -_be_reactive_and_micro_with_a_microprofile_stack
Payara
 
Java2 days 5_agile_steps_to_cloud-ready_apps
Payara
 
Rapid development tools for java ee 8 and micro profile [GIDS]
Payara
 
Ondrej mihalyi be reactive and micro with a micro profile stack
Payara
 
Payara Micro from Raspberry Pi to Cloud
Payara
 
Microprofile and EE4J update
Payara
 
Devoxx Easily scale enterprise applications using distributed data grids
Payara
 
Connect JavaEE to the cloud with JCA by Steve Millidge
Payara
 
Ad

Recently uploaded (20)

PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 

JavaEE Microservices -the Payara Way