Spicing up JMX with Jolokia (Devoxx 2014)

Spicing up JMX with Jolokia 
Roland Huß 
ConSol* Software 
#Devoxx #jolokia @ro14nd
Roland Huß 
• Java Developer since ever 
• working in Munich @ ConSol* 
• Open Source 
‣ Jolokia, Jmx4Perl and docker-maven-plugin 
‣ www.jolokia.org 
‣ labs.consol.de & ro14nd.de 
‣ https://github.com/rhuss 
• Chili Pepper Grower 
#Devoxx #jolokia @ro14nd
JMX 
• Java Management Extensions (JSR-3, 2000) 
‣ Management: Configuration, Lifecycle Operations, … 
‣ Monitoring: Memory Size, Connection Pools …. 
• Available in every JVM 
• JSR-160: JMX Remote API 
‣ Java only 
‣ Crossing firewall boundaries is very hard (RMI) 
‣ Security is "all-or-nothing" 
#Devoxx #jolokia @ro14nd
#Devoxx #jolokia @ro14nd
#Devoxx #jolokia @ro14nd
Agents 
JEE 
OSGi 
Mule 
JVM 
#Devoxx #jolokia @ro14nd
Who uses Jolokia ? 
• hawt.io 
‣ General purpose HTML5 Web Console 
• ActiveMQ 
‣ Leading Open Source Message Broker 
• fabric8 
‣ Open Source Integration Platform (part of JBoss Fuse) 
• Spring XD 
‣ System for development of Big Data applications 
• Spring Boot 
#Devoxx #jolokia @ro14nd
Request Types 
read Reading of attributes 
write Writing of attributes 
exec Execution of operations 
search MBean search 
list MBean metadata 
version Version and server information 
#Devoxx #jolokia @ro14nd
Demo 
#Devoxx #jolokia @ro14nd
What else ? 
• Bulk Requests 
• JSR-160 Proxy 
• Fine grained security via XML policies 
• Tooling with Jmx4Perl 
• Client-Libs: 
‣ JavaScript, Java, Perl (maintained by Jolokia & Jmx4Perl) 
‣ Python, node.js, … (others) 
#Devoxx #jolokia @ro14nd
Jolokia 2.0 
• JMX notifications 
‣ Polling 
‣ (WebSocket, Server Side Events, JMS,….) 
• Role based security 
• Modularization and Service Hooks 
‣ RequestDispatcher (JMX, Spring, ZooKeeper, JNDI, ….) 
‣ JSON serializer 
‣ Restrictor 
#Devoxx #jolokia @ro14nd
Demo 
#Devoxx #jolokia @ro14nd
Questions ? 
http://www.jolokia.org 
#Devoxx #jolokia @ro14nd
1 of 13

Recommended

Java EE 7 Soup to Nuts at JavaOne 2014 by
Java EE 7 Soup to Nuts at JavaOne 2014Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Arun Gupta
2.6K views43 slides
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović by
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir DžaferovićJavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir DžaferovićHUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
2.2K views20 slides
Fabric8 - Being devOps doesn't suck anymore by
Fabric8 - Being devOps doesn't suck anymoreFabric8 - Being devOps doesn't suck anymore
Fabric8 - Being devOps doesn't suck anymoreHenryk Konsek
2.8K views48 slides
Container Landscape in 2017 by
Container Landscape in 2017Container Landscape in 2017
Container Landscape in 2017Arun Gupta
1.4K views45 slides
Container Orchestration @Docker Meetup Hamburg by
Container Orchestration @Docker Meetup HamburgContainer Orchestration @Docker Meetup Hamburg
Container Orchestration @Docker Meetup HamburgTimo Derstappen
3.4K views31 slides

More Related Content

What's hot

Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop... by
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...Docker, Inc.
9.8K views27 slides
Java EE and NoSQL using JBoss EAP 7 and OpenShift by
Java EE and NoSQL using JBoss EAP 7 and OpenShiftJava EE and NoSQL using JBoss EAP 7 and OpenShift
Java EE and NoSQL using JBoss EAP 7 and OpenShiftArun Gupta
1.5K views38 slides
Scaling Development Environments with Docker by
Scaling Development Environments with DockerScaling Development Environments with Docker
Scaling Development Environments with DockerDocker, Inc.
8.8K views35 slides
Building Bizweb Microservices with Docker by
Building Bizweb Microservices with DockerBuilding Bizweb Microservices with Docker
Building Bizweb Microservices with DockerKhôi Nguyễn Minh
2.1K views25 slides
CFWheels - Pragmatic, Beautiful Code by
CFWheels - Pragmatic, Beautiful CodeCFWheels - Pragmatic, Beautiful Code
CFWheels - Pragmatic, Beautiful Codeindiver
2.2K views32 slides
Container orchestration by
Container orchestrationContainer orchestration
Container orchestrationTimo Derstappen
14.7K views37 slides

What's hot(20)

Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop... by Docker, Inc.
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker, Inc.9.8K views
Java EE and NoSQL using JBoss EAP 7 and OpenShift by Arun Gupta
Java EE and NoSQL using JBoss EAP 7 and OpenShiftJava EE and NoSQL using JBoss EAP 7 and OpenShift
Java EE and NoSQL using JBoss EAP 7 and OpenShift
Arun Gupta1.5K views
Scaling Development Environments with Docker by Docker, Inc.
Scaling Development Environments with DockerScaling Development Environments with Docker
Scaling Development Environments with Docker
Docker, Inc.8.8K views
CFWheels - Pragmatic, Beautiful Code by indiver
CFWheels - Pragmatic, Beautiful CodeCFWheels - Pragmatic, Beautiful Code
CFWheels - Pragmatic, Beautiful Code
indiver2.2K views
Best practices for MySQL High Availability Tutorial by Colin Charles
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
Colin Charles4.9K views
KubeCon 2017: Kubernetes from Dev to Prod by Subhas Dandapani
KubeCon 2017: Kubernetes from Dev to ProdKubeCon 2017: Kubernetes from Dev to Prod
KubeCon 2017: Kubernetes from Dev to Prod
Subhas Dandapani1.9K views
Running the Oracle SOA Suite Environment in a Docker Container by Guido Schmutz
Running the Oracle SOA Suite Environment in a Docker ContainerRunning the Oracle SOA Suite Environment in a Docker Container
Running the Oracle SOA Suite Environment in a Docker Container
Guido Schmutz7.2K views
4 JVM Web Frameworks by Joe Kutner
4 JVM Web Frameworks4 JVM Web Frameworks
4 JVM Web Frameworks
Joe Kutner686 views
Microservices Runtimes by Frank Munz
Microservices RuntimesMicroservices Runtimes
Microservices Runtimes
Frank Munz1.1K views
Introduction to node js - From "hello world" to deploying on azure by Colin Mackay
Introduction to node js - From "hello world" to deploying on azureIntroduction to node js - From "hello world" to deploying on azure
Introduction to node js - From "hello world" to deploying on azure
Colin Mackay28.8K views
What is the ServiceStack? by Demis Bellot
What is the ServiceStack?What is the ServiceStack?
What is the ServiceStack?
Demis Bellot809.7K views
Docker and kubernetes_introduction by Jason Hu
Docker and kubernetes_introductionDocker and kubernetes_introduction
Docker and kubernetes_introduction
Jason Hu280 views
Docker Registry + Basic Auth by Remotty
Docker Registry + Basic AuthDocker Registry + Basic Auth
Docker Registry + Basic Auth
Remotty3.6K views
A new model for Docker image distribution by Docker, Inc.
A new model for Docker image distributionA new model for Docker image distribution
A new model for Docker image distribution
Docker, Inc.11.4K views

Viewers also liked

fabric8 ... and Docker, Kubernetes & OpenShift by
fabric8 ... and Docker, Kubernetes & OpenShiftfabric8 ... and Docker, Kubernetes & OpenShift
fabric8 ... and Docker, Kubernetes & OpenShiftroland.huss
9.6K views46 slides
Jolokia - JMX on Capsaicin (Devoxx 2011) by
Jolokia - JMX on Capsaicin (Devoxx 2011)Jolokia - JMX on Capsaicin (Devoxx 2011)
Jolokia - JMX on Capsaicin (Devoxx 2011)roland.huss
21.9K views26 slides
JMX Tutorial by
JMX TutorialJMX Tutorial
JMX Tutorialsatishdotlinkedin
2.4K views17 slides
Monitoring 101 - Leveraging on the power of JMX by
Monitoring 101 - Leveraging on the power of JMXMonitoring 101 - Leveraging on the power of JMX
Monitoring 101 - Leveraging on the power of JMXMartin Gutenbrunner
948 views45 slides
JMX Introduction by
JMX IntroductionJMX Introduction
JMX Introductionzeroproductionincidents
2.6K views27 slides
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics by
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsNima Badiey
3.9K views52 slides

Viewers also liked(8)

fabric8 ... and Docker, Kubernetes & OpenShift by roland.huss
fabric8 ... and Docker, Kubernetes & OpenShiftfabric8 ... and Docker, Kubernetes & OpenShift
fabric8 ... and Docker, Kubernetes & OpenShift
roland.huss9.6K views
Jolokia - JMX on Capsaicin (Devoxx 2011) by roland.huss
Jolokia - JMX on Capsaicin (Devoxx 2011)Jolokia - JMX on Capsaicin (Devoxx 2011)
Jolokia - JMX on Capsaicin (Devoxx 2011)
roland.huss21.9K views
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics by Nima Badiey
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Nima Badiey3.9K views
Spring boot 를 적용한 전사모니터링 시스템 backend 개발 사례 by Jemin Huh
Spring boot 를 적용한 전사모니터링 시스템 backend 개발 사례Spring boot 를 적용한 전사모니터링 시스템 backend 개발 사례
Spring boot 를 적용한 전사모니터링 시스템 backend 개발 사례
Jemin Huh17.2K views
Attack monitoring using ElasticSearch Logstash and Kibana by Prajal Kulkarni
Attack monitoring using ElasticSearch Logstash and KibanaAttack monitoring using ElasticSearch Logstash and Kibana
Attack monitoring using ElasticSearch Logstash and Kibana
Prajal Kulkarni67.6K views

Similar to Spicing up JMX with Jolokia (Devoxx 2014)

Node.js: The What, The How and The When by
Node.js: The What, The How and The WhenNode.js: The What, The How and The When
Node.js: The What, The How and The WhenFITC
4.6K views40 slides
How dojo works by
How dojo worksHow dojo works
How dojo worksAmit Tyagi
8.6K views34 slides
Node by
NodeNode
NodeTimothy Strimple
1.6K views22 slides
CrossWorlds: Unleash the Power of Domino for Connections Development by
CrossWorlds: Unleash the Power of Domino for Connections Development CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development LetsConnect
532 views20 slides
Mobile Web Development with HTML5 by
Mobile Web Development with HTML5Mobile Web Development with HTML5
Mobile Web Development with HTML5Roy Clarkson
905 views50 slides
End-to-end HTML5 APIs - The Geek Gathering 2013 by
End-to-end HTML5 APIs - The Geek Gathering 2013End-to-end HTML5 APIs - The Geek Gathering 2013
End-to-end HTML5 APIs - The Geek Gathering 2013Alexandre Morgaut
5.7K views41 slides

Similar to Spicing up JMX with Jolokia (Devoxx 2014)(20)

Node.js: The What, The How and The When by FITC
Node.js: The What, The How and The WhenNode.js: The What, The How and The When
Node.js: The What, The How and The When
FITC4.6K views
How dojo works by Amit Tyagi
How dojo worksHow dojo works
How dojo works
Amit Tyagi8.6K views
CrossWorlds: Unleash the Power of Domino for Connections Development by LetsConnect
CrossWorlds: Unleash the Power of Domino for Connections Development CrossWorlds: Unleash the Power of Domino for Connections Development
CrossWorlds: Unleash the Power of Domino for Connections Development
LetsConnect532 views
Mobile Web Development with HTML5 by Roy Clarkson
Mobile Web Development with HTML5Mobile Web Development with HTML5
Mobile Web Development with HTML5
Roy Clarkson905 views
End-to-end HTML5 APIs - The Geek Gathering 2013 by Alexandre Morgaut
End-to-end HTML5 APIs - The Geek Gathering 2013End-to-end HTML5 APIs - The Geek Gathering 2013
End-to-end HTML5 APIs - The Geek Gathering 2013
Alexandre Morgaut5.7K views
mjprof: Monadic approach for JVM profiling by Haim Yadid
mjprof: Monadic approach for JVM profilingmjprof: Monadic approach for JVM profiling
mjprof: Monadic approach for JVM profiling
Haim Yadid1.4K views
External JavaScript Widget Development Best Practices by Volkan Özçelik
External JavaScript Widget Development Best PracticesExternal JavaScript Widget Development Best Practices
External JavaScript Widget Development Best Practices
Volkan Özçelik4.8K views
Introduction to Django (GDays 2014) by Edem Kumodzi
Introduction to Django (GDays 2014) Introduction to Django (GDays 2014)
Introduction to Django (GDays 2014)
Edem Kumodzi581 views
Java scriptwidgetdevelopmentjstanbul2012 by Volkan Özçelik
Java scriptwidgetdevelopmentjstanbul2012Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012
Volkan Özçelik324 views
Outsmarting SmartPhones by saurabhharit
Outsmarting SmartPhonesOutsmarting SmartPhones
Outsmarting SmartPhones
saurabhharit438 views
Building Real-World Dojo Web Applications by Andrew Ferrier
Building Real-World Dojo Web ApplicationsBuilding Real-World Dojo Web Applications
Building Real-World Dojo Web Applications
Andrew Ferrier5K views
Social Connections 2015 CrossWorlds and Domino by Paul Withers
Social Connections 2015 CrossWorlds and DominoSocial Connections 2015 CrossWorlds and Domino
Social Connections 2015 CrossWorlds and Domino
Paul Withers954 views
External JavaScript Widget Development Best Practices (updated) (v.1.1) by Volkan Özçelik
External JavaScript Widget Development Best Practices (updated) (v.1.1) External JavaScript Widget Development Best Practices (updated) (v.1.1)
External JavaScript Widget Development Best Practices (updated) (v.1.1)
Volkan Özçelik4.3K views
Hacking Adobe Experience Manager sites by Mikhail Egorov
Hacking Adobe Experience Manager sitesHacking Adobe Experience Manager sites
Hacking Adobe Experience Manager sites
Mikhail Egorov13.2K views
Доклад Михаила Егорова на PHDays by ru_Parallels
Доклад Михаила Егорова на PHDaysДоклад Михаила Егорова на PHDays
Доклад Михаила Егорова на PHDays
ru_Parallels315 views

Recently uploaded

Introduction to Git Source Control by
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source ControlJohn Valentino
7 views18 slides
The Era of Large Language Models.pptx by
The Era of Large Language Models.pptxThe Era of Large Language Models.pptx
The Era of Large Language Models.pptxAbdulVahedShaik
7 views9 slides
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile... by
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...Stefan Wolpers
42 views38 slides
Dapr Unleashed: Accelerating Microservice Development by
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice DevelopmentMiroslav Janeski
15 views29 slides
How Workforce Management Software Empowers SMEs | TraQSuite by
How Workforce Management Software Empowers SMEs | TraQSuiteHow Workforce Management Software Empowers SMEs | TraQSuite
How Workforce Management Software Empowers SMEs | TraQSuiteTraQSuite
6 views3 slides
Navigating container technology for enhanced security by Niklas Saari by
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariMetosin Oy
15 views34 slides

Recently uploaded(20)

Introduction to Git Source Control by John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino7 views
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile... by Stefan Wolpers
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...
How To Make Your Plans Suck Less — Maarten Dalmijn at the 57th Hands-on Agile...
Stefan Wolpers42 views
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski15 views
How Workforce Management Software Empowers SMEs | TraQSuite by TraQSuite
How Workforce Management Software Empowers SMEs | TraQSuiteHow Workforce Management Software Empowers SMEs | TraQSuite
How Workforce Management Software Empowers SMEs | TraQSuite
TraQSuite6 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy15 views
360 graden fabriek by info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info33492165 views
predicting-m3-devopsconMunich-2023.pptx by Tier1 app
predicting-m3-devopsconMunich-2023.pptxpredicting-m3-devopsconMunich-2023.pptx
predicting-m3-devopsconMunich-2023.pptx
Tier1 app8 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta9 views
Generic or specific? Making sensible software design decisions by Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
Top-5-production-devconMunich-2023-v2.pptx by Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app8 views
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi216 views
Understanding HTML terminology by artembondar5
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminology
artembondar57 views

Spicing up JMX with Jolokia (Devoxx 2014)

  • 1. Spicing up JMX with Jolokia Roland Huß ConSol* Software #Devoxx #jolokia @ro14nd
  • 2. Roland Huß • Java Developer since ever • working in Munich @ ConSol* • Open Source ‣ Jolokia, Jmx4Perl and docker-maven-plugin ‣ www.jolokia.org ‣ labs.consol.de & ro14nd.de ‣ https://github.com/rhuss • Chili Pepper Grower #Devoxx #jolokia @ro14nd
  • 3. JMX • Java Management Extensions (JSR-3, 2000) ‣ Management: Configuration, Lifecycle Operations, … ‣ Monitoring: Memory Size, Connection Pools …. • Available in every JVM • JSR-160: JMX Remote API ‣ Java only ‣ Crossing firewall boundaries is very hard (RMI) ‣ Security is "all-or-nothing" #Devoxx #jolokia @ro14nd
  • 6. Agents JEE OSGi Mule JVM #Devoxx #jolokia @ro14nd
  • 7. Who uses Jolokia ? • hawt.io ‣ General purpose HTML5 Web Console • ActiveMQ ‣ Leading Open Source Message Broker • fabric8 ‣ Open Source Integration Platform (part of JBoss Fuse) • Spring XD ‣ System for development of Big Data applications • Spring Boot #Devoxx #jolokia @ro14nd
  • 8. Request Types read Reading of attributes write Writing of attributes exec Execution of operations search MBean search list MBean metadata version Version and server information #Devoxx #jolokia @ro14nd
  • 10. What else ? • Bulk Requests • JSR-160 Proxy • Fine grained security via XML policies • Tooling with Jmx4Perl • Client-Libs: ‣ JavaScript, Java, Perl (maintained by Jolokia & Jmx4Perl) ‣ Python, node.js, … (others) #Devoxx #jolokia @ro14nd
  • 11. Jolokia 2.0 • JMX notifications ‣ Polling ‣ (WebSocket, Server Side Events, JMS,….) • Role based security • Modularization and Service Hooks ‣ RequestDispatcher (JMX, Spring, ZooKeeper, JNDI, ….) ‣ JSON serializer ‣ Restrictor #Devoxx #jolokia @ro14nd
  • 13. Questions ? http://www.jolokia.org #Devoxx #jolokia @ro14nd