SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
GlassFish 4 on Ubuntu Touch
Adventures in Hacking JEE on a phone

Mike Croft

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

INTRODUCTIONS

© C2B2 Consulting Limited 2013
All Rights Reserved
Who Am I?
• C2B2 Expert Support consultant
• Fan of anything bleeding-edge

• Snowboarder
• @croft

© C2B2 Consulting Limited 2013
All Rights Reserved
Who are you?

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

WHAT ARE WE DOING AND WHY?

© C2B2 Consulting Limited 2013
All Rights Reserved
What are we doing?
• Putting the full Java EE reference app server
on a phone
• Getting it to run
(successfully)

• Testing performance

© C2B2 Consulting Limited 2013
All Rights Reserved
Why are we doing it?
• “Because it is there”
• Because Java EE does not automatically mean
heavyweight!
• Ubuntu Touch really is a convergent device!

• Smartphones are now ultra low power PCs!

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

HOW DO WE DO IT?

© C2B2 Consulting Limited 2013
All Rights Reserved
How do we do it?

Demo Time!
Sort of…

© C2B2 Consulting Limited 2013
All Rights Reserved
Demo – Plan B

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

CAN WE MAKE IT BETTER?

© C2B2 Consulting Limited 2013
All Rights Reserved
Performance
• Tune the server
• Design for
performance
• It’s still only a phone!
(don’t expect miracles!)

© C2B2 Consulting Limited 2013
All Rights Reserved
Monitoring
• LightFish
– REST based (by Adam Bien)

• New Relic
– Agent based

© C2B2 Consulting Limited 2013
All Rights Reserved
Distributed Computing
• Map/Reduce
• Data grids

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

WHAT IMPLICATIONS DOES THIS
HAVE?
© C2B2 Consulting Limited 2013
All Rights Reserved
What implications does this have?
• Why is your old Nexus sat gathering dust?
• Are you sure your GlassFish really needs all
those resources?
• What could you do with the full Java EE stack
in your pocket?

© C2B2 Consulting Limited 2013
All Rights Reserved
What implications does this have?
• Internet of Things
• “Wearables”

• Other limited-resource
platforms?

© C2B2 Consulting Limited 2013
All Rights Reserved
GlassFish on Ubuntu Touch

RECAP

© C2B2 Consulting Limited 2013
All Rights Reserved
Recap
• Phones are pretty awesome
• Canonical has an interesting vision

• Challenges of seriously tiny environments
• Advantages of tiny environments!

© C2B2 Consulting Limited 2013
All Rights Reserved
Key Considerations
• Performance
– What do you need?

• Monitoring
– Can you tell if your needs change?

• Distributed computing

© C2B2 Consulting Limited 2013
All Rights Reserved
Get In Touch
@c2b2consulting
@croft
http://www.youtube.com/user/C2B2Consulting

C2B2 Consulting Limited
http://www.c2b2.co.uk/
info@c2b2.co.uk

© C2B2 Consulting Limited 2013
All Rights Reserved
Any Questions?

© C2B2 Consulting Limited 2013
All Rights Reserved

Contenu connexe

Plus de C2B2 Consulting

Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
C2B2 Consulting
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
C2B2 Consulting
 

Plus de C2B2 Consulting (20)

Hands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandHands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx Poland
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA Suite
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLST
 
Hands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceHands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performance
 
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
 
JBoss Clustering on OpenShift
JBoss Clustering on OpenShiftJBoss Clustering on OpenShift
JBoss Clustering on OpenShift
 
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleOracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
 
Java Middleware Surgery
Java Middleware Surgery Java Middleware Surgery
Java Middleware Surgery
 
Jax London 2013
Jax London 2013Jax London 2013
Jax London 2013
 
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
 
'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' 'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker'
 
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' 'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
 
'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-web
 
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleJUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
 
GeeCon- 'www.NoSQL.com' by Mark Addy
GeeCon- 'www.NoSQL.com' by Mark Addy GeeCon- 'www.NoSQL.com' by Mark Addy
GeeCon- 'www.NoSQL.com' by Mark Addy
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

GlassFish 4 on Ubuntu Touch: Adventures in Hacking JEE on a phone

  • 1. GlassFish 4 on Ubuntu Touch Adventures in Hacking JEE on a phone Mike Croft © C2B2 Consulting Limited 2013 All Rights Reserved
  • 2. GlassFish on Ubuntu Touch INTRODUCTIONS © C2B2 Consulting Limited 2013 All Rights Reserved
  • 3. Who Am I? • C2B2 Expert Support consultant • Fan of anything bleeding-edge • Snowboarder • @croft © C2B2 Consulting Limited 2013 All Rights Reserved
  • 4. Who are you? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 5. GlassFish on Ubuntu Touch WHAT ARE WE DOING AND WHY? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 6. What are we doing? • Putting the full Java EE reference app server on a phone • Getting it to run (successfully) • Testing performance © C2B2 Consulting Limited 2013 All Rights Reserved
  • 7. Why are we doing it? • “Because it is there” • Because Java EE does not automatically mean heavyweight! • Ubuntu Touch really is a convergent device! • Smartphones are now ultra low power PCs! © C2B2 Consulting Limited 2013 All Rights Reserved
  • 8. GlassFish on Ubuntu Touch HOW DO WE DO IT? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 9. How do we do it? Demo Time! Sort of… © C2B2 Consulting Limited 2013 All Rights Reserved
  • 10. Demo – Plan B © C2B2 Consulting Limited 2013 All Rights Reserved
  • 11. GlassFish on Ubuntu Touch CAN WE MAKE IT BETTER? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 12. Performance • Tune the server • Design for performance • It’s still only a phone! (don’t expect miracles!) © C2B2 Consulting Limited 2013 All Rights Reserved
  • 13. Monitoring • LightFish – REST based (by Adam Bien) • New Relic – Agent based © C2B2 Consulting Limited 2013 All Rights Reserved
  • 14. Distributed Computing • Map/Reduce • Data grids © C2B2 Consulting Limited 2013 All Rights Reserved
  • 15. GlassFish on Ubuntu Touch WHAT IMPLICATIONS DOES THIS HAVE? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 16. What implications does this have? • Why is your old Nexus sat gathering dust? • Are you sure your GlassFish really needs all those resources? • What could you do with the full Java EE stack in your pocket? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 17. What implications does this have? • Internet of Things • “Wearables” • Other limited-resource platforms? © C2B2 Consulting Limited 2013 All Rights Reserved
  • 18. GlassFish on Ubuntu Touch RECAP © C2B2 Consulting Limited 2013 All Rights Reserved
  • 19. Recap • Phones are pretty awesome • Canonical has an interesting vision • Challenges of seriously tiny environments • Advantages of tiny environments! © C2B2 Consulting Limited 2013 All Rights Reserved
  • 20. Key Considerations • Performance – What do you need? • Monitoring – Can you tell if your needs change? • Distributed computing © C2B2 Consulting Limited 2013 All Rights Reserved
  • 21. Get In Touch @c2b2consulting @croft http://www.youtube.com/user/C2B2Consulting C2B2 Consulting Limited http://www.c2b2.co.uk/ info@c2b2.co.uk © C2B2 Consulting Limited 2013 All Rights Reserved
  • 22. Any Questions? © C2B2 Consulting Limited 2013 All Rights Reserved