15
The Gear you need to go mobile with Java Enterprise [email protected] [email protected]

The Gear you need to go mobile with Java Enterprise - Jax 2012

Embed Size (px)

DESCRIPTION

You've heard all the terms, mobile web, hybrid app, HTML5, REST, etc... Maybe you've even played around with them a bit, but how do they all fit together? We're going to discuss all of that, and how it is encompassed in the Plain Old HTML5 (POH5) architecture! The sample application will go from nothing, to a cloud based mobile web and Apache Callback application, all in 60 minutes!

Citation preview

Page 1: The Gear you need to go mobile with Java Enterprise - Jax 2012

The  Gear  you  need  to  go  mobile  with  Java  Enterprise    

[email protected]    

[email protected]      

Page 2: The Gear you need to go mobile with Java Enterprise - Jax 2012

Presenta:on  from  Jay  Balunas  

2  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Jay  §  JBoss  Core  Developer  at  RedHat  §  Project  lead  Aerogear  

§  Asked  us  to  give  this  presentaJon  

     

Page 3: The Gear you need to go mobile with Java Enterprise - Jax 2012

Who  we  are  

3  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Philipp  Kumar  [email protected]    

Mobile  Competence  Center  

Heinz  Wilming  [email protected]  

 

JBoss  Competence  Center  

Page 4: The Gear you need to go mobile with Java Enterprise - Jax 2012

akquinet  AG  

4  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Mobile Anwendungen

IndividualprojekteIndividualprojekte

BeratungBeratung

Gesc

häfts

anwen

dungen

Innovative Technologien

UserExperience

(UX)

Page 5: The Gear you need to go mobile with Java Enterprise - Jax 2012

Na:ve  Shell  

Mobile  Applica:ons  

5  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Mobile  Web   Na:ve  Shell   Na:ve  App  

Page 6: The Gear you need to go mobile with Java Enterprise - Jax 2012

Mobile  Web  

6  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Page 7: The Gear you need to go mobile with Java Enterprise - Jax 2012

JSF  and  Richfaces  

7  21.04.12  Copyright  ©  2010  –  akquinet  AG  

JSF    

§  Does  not  target  mobile  web  §  Extension  needed  to  fill  the  gap  Richfaces  mobile  +  extension  §  Mobile  skin  §  Device  DetecJon  §  NaJve  feeling  transiJon  §  Back  buVon  support  §  OpJmized  CSS  /  JS  resources    

Page 8: The Gear you need to go mobile with Java Enterprise - Jax 2012

W3C  suite  of  specifica:ons    

§  HTML5    § Tags  § Set  of  APIs:  WebSockets,  …  

§  CSS3  §  JavaScript        

Plain  Old  HTML5  

8  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Page 9: The Gear you need to go mobile with Java Enterprise - Jax 2012

ResRul  architecture  

 §  Based  on  HTTP  standards  §  Resources    (URI)  §  RepresentaJon  § Meaningful  response  codes  

9  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Page 10: The Gear you need to go mobile with Java Enterprise - Jax 2012

¡  Text  ¡  Text  

10  21.04.12  Copyright  ©  2010  –  akquinet  AG  

   Let‘s  start    building  an  app!    

Page 11: The Gear you need to go mobile with Java Enterprise - Jax 2012

OpenShiU  

11  21.04.12  Copyright  ©  2010  –  akquinet  AG  

http://poh5-akquinet.rhcloud.com/

Page 12: The Gear you need to go mobile with Java Enterprise - Jax 2012

Get  started  today!  

12  21.04.12  Copyright  ©  2010  –  akquinet  AG  

mvn archetype:generate \ -DarchetypeArtifactId=jboss-html5-mobile-archetype \ -DarchetypeGroupId=org.jboss.aerogear.archetypes \ -DarchetypeVersion=1.0.0.M2c

Page 13: The Gear you need to go mobile with Java Enterprise - Jax 2012

Deploy  your  App  into  the  cloud  

13  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Page 14: The Gear you need to go mobile with Java Enterprise - Jax 2012

Links  

hWp://blog.akquinet.de/    hWp://www.jboss.org/aerogear/    hWp://www.jboss.org/tools    hWps://openshiU.redhat.com/      

14  21.04.12  Copyright  ©  2010  –  akquinet  AG  

Page 15: The Gear you need to go mobile with Java Enterprise - Jax 2012

Thank  you  for  your  aVenJon!  

QA