JustJava 2013: Aplicações Desktop HTML5, CSS3, Javascript com Servlets 3

  • 3,020 views
Uploaded on

Palestrada dada no dia 8 de junho de 2013 no evento JustJava 2013 em São Paulo. Assunto: Aplicações Desktop nativas com HTML5, CSS3, JavaScript com backend usando Servlets 3

Palestrada dada no dia 8 de junho de 2013 no evento JustJava 2013 em São Paulo. Assunto: Aplicações Desktop nativas com HTML5, CSS3, JavaScript com backend usando Servlets 3

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,020
On Slideshare
0
From Embeds
0
Number of Embeds
12

Actions

Shares
Downloads
0
Comments
0
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Aplicações desktopnativas comHTML5, CSS3 e JScom backend usandoServlets 3Loiane Gronerhttp://loiane.com
  • 2. Java JUG LeaderSencha CommunityLeader 7+ XP Java4+ XP SenchaSoftware DeveloperManager @ Citibankhttp://loiane.com@loianeLoiane Groner
  • 3. Autora TécnicaInternacional
  • 4. Pq Desktop?
  • 5. PQ?
  • 6. Windows: Win 32 API, MFC, AFC, .NETMac OS: Cocoa, CarbonLinux: GTK+Cross-Platform toolkits:Java Swing, Eclipse SWT, Mono, GTK+Adobe AIRJava FX
  • 7. Pelo mesmo motivo que você desenvolveuma app mobile nativa ao invés de umaaplicação web que será executada nobrowser do seu deviceExperiência
  • 8. Experiência do UsuárioExperiência é mais ricaDrag and DropOffline de verdadeNotificaçõesSistema de Arquivos
  • 9. E pq tecnologias web?•Velocidade e custo de desenvolvimento•Reuso de skills•ótimas ferramentas no mercado•HTML/CSS/JS são MARA!•E vc pode ter o que vc quiser nobackend (Java!)
  • 10. E ainda...
  • 11. Cross-Browser
  • 12. Como?
  • 13. http://www.chromium.org/developers/content-module
  • 14. Chrome Content API
  • 15. Chrome Content API
  • 16. Comofunciona?
  • 17. HTML, CSS, JSPackager - webkit + recursos nativosSO - Windows / Mac / Linux
  • 18. Show methecode!
  • 19. Ferramentas
  • 20. Titanium Desktophttp://www.tidesdk.org/
  • 21. https://github.com/rogerwang/node-webkit
  • 22. http://appjs.org/
  • 23. Sencha Desktop Packagerhttp://www.sencha.com/products/desktop-packager/
  • 24. Apache Cordovaaka PhoneGaphttp://cordova.apache.org/
  • 25. Chrome Packaged Appshttp://developer.chrome.com/apps/about_apps.html
  • 26. Show methecode!
  • 27. ProblemasSegurança
  • 28. Debugis on the table
  • 29. Show methecode!
  • 30. Mas e o Java?
  • 31. App Desktop(Empacotada)App Server(Java)LocalMáquina UsusárioServerrequestsresponses
  • 32. Show methecode!
  • 33. CORShttp://enable-cors.org/enable cross-origin resource sharing
  • 34. Servlet Filter
  • 35. Manual
  • 36. http://software.dzhuvinov.com/cors-filter.htmlLib/JAR
  • 37. <filter>! <filter-name>CORS</filter-name>! <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class></filter>WEB-INF/web.xml<filter-mapping><filter-name>CORS</filter-name><servlet-name>MyServlet</servlet-name></filter-mapping><filter-mapping><filter-name>CORS</filter-name><url-pattern>/*</url-pattern></filter-mapping>
  • 38. https://github.com/loiane/desktop-app-servlets3http://www.slideshare.net/loianeg
  • 39. Obrigada!Loiane Groner@loianehttp://loiane.com