Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

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

3.718 visualizaciones

Publicado el

Presentation delivered by Mike Croft and Steve Millidge at DOAG German Oracle User Group Conference in Nuremberg, 19-21 November 2013.

Mobile devices get more and more powerful, JEE servers get faster and smaller. This convergence means it is now possible to run GlassFish 4 on a phone platform. In this session we'll show you how to get GlassFish up and running on Ubuntu Touch and communicating with a back end GlassFish server cluster to enable you to combine full JEE on client device and server.

The presentation will be mainly live demo of using GlassFish 4 on a phone communicating with a cluster of GlassFish servers in Amazon EC2.There will be slides to talk through the demo architecture and code snippets showing the latest JEE7 websocket apis being used to communicate device to server.

We will first install Java and GlassFish on the phone. We will then demonstrate developing a quick HTML 5 JEE web application to retrieve data from a GlassFish cluster using WebSockets. We'll deploy this to the phone and demonstrate it running on Ubuntu Touch.

Publicado en: Tecnología, Empresariales
  • Inicia sesión para ver los comentarios

  • Sé el primero en recomendar esto

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

  1. 1. GlassFish 4 on Ubuntu Touch Adventures in Hacking JEE on a phone Mike Croft © C2B2 Consulting Limited 2013 All Rights Reserved
  2. 2. GlassFish on Ubuntu Touch INTRODUCTIONS © C2B2 Consulting Limited 2013 All Rights Reserved
  3. 3. Who Am I? • C2B2 Expert Support consultant • Fan of anything bleeding-edge • Snowboarder • @croft © C2B2 Consulting Limited 2013 All Rights Reserved
  4. 4. Who are you? © C2B2 Consulting Limited 2013 All Rights Reserved
  5. 5. GlassFish on Ubuntu Touch WHAT ARE WE DOING AND WHY? © C2B2 Consulting Limited 2013 All Rights Reserved
  6. 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. 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. 8. GlassFish on Ubuntu Touch HOW DO WE DO IT? © C2B2 Consulting Limited 2013 All Rights Reserved
  9. 9. How do we do it? Demo Time! Sort of… © C2B2 Consulting Limited 2013 All Rights Reserved
  10. 10. Demo – Plan B © C2B2 Consulting Limited 2013 All Rights Reserved
  11. 11. GlassFish on Ubuntu Touch CAN WE MAKE IT BETTER? © C2B2 Consulting Limited 2013 All Rights Reserved
  12. 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. 13. Monitoring • LightFish – REST based (by Adam Bien) • New Relic – Agent based © C2B2 Consulting Limited 2013 All Rights Reserved
  14. 14. Distributed Computing • Map/Reduce • Data grids © C2B2 Consulting Limited 2013 All Rights Reserved
  15. 15. GlassFish on Ubuntu Touch WHAT IMPLICATIONS DOES THIS HAVE? © C2B2 Consulting Limited 2013 All Rights Reserved
  16. 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. 17. What implications does this have? • Internet of Things • “Wearables” • Other limited-resource platforms? © C2B2 Consulting Limited 2013 All Rights Reserved
  18. 18. GlassFish on Ubuntu Touch RECAP © C2B2 Consulting Limited 2013 All Rights Reserved
  19. 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. 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. 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. 22. Any Questions? © C2B2 Consulting Limited 2013 All Rights Reserved

×