The Gear You Need To Go Mobile With Java Enterprise

2,665 views

Published on

The rising power of the mobile platform recently has shown how important is being able expose applications to portable devices. What can an strong enterprise back-end offer you in this space?

In the mobile environment, developers are forced to leave usual habits and enter the rapidly changing ground. Is there any way how to use well-known enterprise UI technologies on mobiles?

The mobile technologies are growing faster than one can simply follow. There are plenty of technologies around the mobile web and new frameworks appear so quickly. How to tame the latest cool frameworks and provide users with great experience?

How to get a gear you need to go mobile?

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,665
On SlideShare
0
From Embeds
0
Number of Embeds
60
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

The Gear You Need To Go Mobile With Java Enterprise

  1. The Gear you need to go Mobile with Java EnterpriseLukáš Fryč
  2. RISINGPLATFORM
  3. “Predictions say mobile Internet usagewill soon overtake desktop one.”
  4. “There are many platforms whichyou need to make to inter-operate with.”
  5. RISINGTECHNOLOGIES
  6. “The technologies in mobile web isfocused around efforts known as HTML5.”
  7. JavaScript“These improvements is just not about one technology,But they bears also improvement to CSS and JavaScript.”
  8. “But its quite hard to stay in touch with the development in the space of these technologies.Thats what frameworks can improve – they make sure higher-level features works on various platforms.”
  9. THE AGE OFFRAMEWORKS
  10. “But there are many of such frameworks, and its hardto stay in touch with all of these just to know which is bestin given area.”
  11. “But the only what we, Java developers, want to achieveis making our users using mobile work with our application...”
  12. “...and let these phones to connect to our strong enterpriseback-ends.”
  13. “But how to not getcrazy with all theinformationsflowing around?”
  14. “Its obvious that you would need some gear to do the job.”
  15. “And thats exactly where AeroGear project focuses.”
  16. 2 CASE STUDIES
  17. #1 MOBILE FRIENDLY“First case study is about making the current enterprise webframeworks work on mobile devices.”
  18. “As the base technology for the sample was chosen JSF.”
  19. Powerful Technology“JSF is very powerful technology, it offers several conceptswhich makes easier to develop mobile-enabled solutions.”
  20. Facelets VDL
  21. Render Kits• JSF allows to use device detection and select Render Kit based on user device: – Desktop – Mobile
  22. Cross-cutting concerns• Delegates to custom solution when specification falls short
  23. Is it enough?
  24. JSF wasnt createdwith mobile web in mind
  25. “Thats where component libraries like RichFaces come in.”
  26. RichFaces & Mobile• Mature Component Library for JSF – 60 components• Mobile Friendly – It has been made sure that each component can be controlled by mobile device users
  27. RichFaces QuickStart• http://bit.ly/rf-quickstart – Device detection → optimized view• http://bit.ly/rf-quickstart-mobile – Mobile view for desktop browsers
  28. RichFaces Showcase• http://bit.ly/rf-showcase – Device detection → optimized view• http://bit.ly/rf-showcase-mobile – Mobile view for desktop browsers
  29. Mobile RichFaces• Device detection – Server-side• Page transitions – Nearly native feeling• Back button support – Including bookmarking
  30. Mobile Improvements• Slidfast framework – Native-like Look – CSS3 Page Transitions• Single-page model
  31. Resource Optimization• CSS/JS compression• Minimizes number of requests
  32. #2 TARGETTING MOBILES“Second case study is integrating current mobile web andenterprise back-end technologies in order to providenearly native feeling.”
  33. IntroducingPOH5 Architecture(Plain Old HTML5)
  34. “POH5 lets workstandard HTML5applications onmobile web, inhybrid and evendesktopapplications.But additionallyAeroGear focuseson the enterpriseneeds:”
  35. “And then you can let this application communicate through AJAX with REST service or via WebSocket to Messaging service. This all can be plumbed together using CDI.”
  36. HTML5 QuickStart Sample
  37. RESTful Endpoints• JAX-RS• GET, POST, UPDATE, DELETE• POJO• JPA, Bean validation• CDI
  38. Client Side• jQuery Mobile• HTML5
  39. Demo time• http://bit.ly/ag-poh5 – Different views for mobile / desktop• http://bit.ly/zZcg4X
  40. 3 PROJECT GOALS
  41. #1 EDUCATION
  42. Quick Starts ArticlesRSS / Twitter Channels Webinars
  43. #2 COMMUNITY
  44. Knowledge Base Forums IRCSocial Coding - GitHub
  45. #3 INNOVATION
  46. Coding / Hacking IRC Meetings Discussions
  47. Hybrid Web Mobile WebLight-weight MVC Local Storage Security Offline Support
  48. Where to reach us?bit.ly/aerogearbit.ly/ag-forumsbit.ly/richfaces@AeroGears, @RichFaces, @LFryc#aerogear / #richfaces – irc.freenode.net
  49. Thank You!EDUCATION The GearCOMMUNITY you need to go MobileINNOVATION with Java Enterprise
  50. Photographs used in presentation were authored by various artists and published under Creative Commons licensehttp://www.flickr.com/photos/velkr0/3472576304/http://www.flickr.com/photos/txh62/478812294/http://www.flickr.com/photos/txh62/478812294/http://www.flickr.com/photos/twicepix/3332881889/http://www.flickr.com/photos/seanhobson/4504828599/http://www.flickr.com/photos/virtualsugar/6933601335/http://strategy.wikimedia.org/wiki/Mobile/Forecasts

×